Nektar++
|
#include <CADSurf.h>
Public Member Functions | |
CADSurf (int i, TopoDS_Shape in, std::vector< std::vector< std::pair< int, int > > > ein) | |
Default constructor. More... | |
std::vector< std::vector< std::pair< int, int > > > | GetEdges () |
Get the IDs of the edges which bound the surface. More... | |
Array< OneD, NekDouble > | GetBounds () |
Get the limits of the parametric space for the surface. More... | |
Array< OneD, NekDouble > | N (Array< OneD, NekDouble > uv) |
Get the normal vector at parametric point u,v. More... | |
Array< OneD, NekDouble > | D1 (Array< OneD, NekDouble > uv) |
Get the set of first derivatives at parametric point u,v. More... | |
Array< OneD, NekDouble > | D2 (Array< OneD, NekDouble > uv) |
Get the set of second derivatives at parametric point u,v. More... | |
Array< OneD, NekDouble > | P (Array< OneD, NekDouble > uv) |
Get the x,y,z at parametric point u,v. More... | |
Array< OneD, NekDouble > | locuv (Array< OneD, NekDouble > p) |
Performs a reverse look up to find u,v and x,y,z. More... | |
Private Member Functions | |
Handle (Geom_Surface) m_s | |
Alternate OpenCascade object for surface. Used by reverse lookup. More... | |
Private Attributes | |
int | m_ID |
ID of surface. More... | |
BRepAdaptor_Surface | m_occSurface |
OpenCascade object for surface. More... | |
std::vector< std::vector< std::pair< int, int > > > | m_edges |
List of bounding edges in loops with orientation. More... | |
Friends | |
class | MemoryManager< CADSurf > |
Nektar::LibUtilities::CADSurf::CADSurf | ( | int | i, |
TopoDS_Shape | in, | ||
std::vector< std::vector< std::pair< int, int > > > | ein | ||
) |
Default constructor.
Definition at line 43 of file CADSurf.cpp.
References m_occSurface.
Get the set of first derivatives at parametric point u,v.
uv | Array of u and v parametric coords. |
Definition at line 151 of file CADSurf.cpp.
References m_occSurface.
Get the set of second derivatives at parametric point u,v.
uv | array of u and v parametric coords |
Definition at line 178 of file CADSurf.cpp.
References m_occSurface.
Get the limits of the parametric space for the surface.
Definition at line 80 of file CADSurf.h.
References m_occSurface.
|
inline |
Get the IDs of the edges which bound the surface.
The edges are organsised into two vectors, which are grouped into the continuous loops of the bounding edges, then the edges, which are a pair of integers. The first item is the edge ID and the second is an integer that indicates whether this edge is orientated forwards or backwards on this surface to form the loop.
Definition at line 70 of file CADSurf.h.
References m_edges.
|
private |
Alternate OpenCascade object for surface. Used by reverse lookup.
Performs a reverse look up to find u,v and x,y,z.
p | Array of xyz location |
Definition at line 63 of file CADSurf.cpp.
References ASSERTL0, ASSERTL1, Nektar::NekConstants::GeomTol, and m_occSurface.
Get the normal vector at parametric point u,v.
uv | Array of u and v parametric coords. |
Definition at line 118 of file CADSurf.cpp.
References m_occSurface.
Get the x,y,z at parametric point u,v.
uv | Array of u and v parametric coords. |
Definition at line 100 of file CADSurf.cpp.
References m_occSurface.
|
friend |
|
private |
List of bounding edges in loops with orientation.
Definition at line 106 of file CADSurf.h.
Referenced by GetEdges().
|
private |