Nektar++
|
#include <CADSurfOCE.h>
Public Member Functions | |
CADSurfOCE () | |
~CADSurfOCE () | |
void | Initialise (int i, TopoDS_Shape in) |
virtual Array< OneD, NekDouble > | GetBounds () |
Get the limits of the parametric space for the surface. More... | |
virtual Array< OneD, NekDouble > | N (Array< OneD, NekDouble > uv) |
Get the normal vector at parametric point u,v. More... | |
virtual Array< OneD, NekDouble > | D1 (Array< OneD, NekDouble > uv) |
Get the set of first derivatives at parametric point u,v. More... | |
virtual Array< OneD, NekDouble > | D2 (Array< OneD, NekDouble > uv) |
Get the set of second derivatives at parametric point u,v. More... | |
virtual Array< OneD, NekDouble > | P (Array< OneD, NekDouble > uv) |
Get the x,y,z at parametric point u,v. More... | |
virtual Array< OneD, NekDouble > | locuv (Array< OneD, NekDouble > p) |
Performs a reverse look up to find u,v and x,y,z. More... | |
virtual NekDouble | DistanceTo (Array< OneD, NekDouble > p) |
does unconstrained locuv to project point from anywhere and calculate the distance between the orthonormal projection to the surface and the point More... | |
virtual void | ProjectTo (Array< OneD, NekDouble > &tp, Array< OneD, NekDouble > &uv) |
takes a point from anywhere find the nearest surface point and its uv More... | |
virtual NekDouble | Curvature (Array< OneD, NekDouble > uv) |
returns curvature at point uv More... | |
Public Member Functions inherited from Nektar::NekMeshUtils::CADSurf | |
CADSurf () | |
Default constructor. More... | |
~CADSurf () | |
std::vector < CADSystem::EdgeLoopSharedPtr > | GetEdges () |
Get the loop structures which bound the cad surface. More... | |
void | SetEdges (std::vector< CADSystem::EdgeLoopSharedPtr > ein) |
CADOrientation::Orientation | Orientation () |
query reversed normal More... | |
Public Member Functions inherited from Nektar::NekMeshUtils::CADObject | |
CADObject () | |
Default constructor. More... | |
virtual | ~CADObject () |
int | GetId () |
Return ID of the vertex. More... | |
CADType::cadType | GetType () |
Static Public Member Functions | |
static CADSurfSharedPtr | create () |
Static Public Member Functions inherited from Nektar::NekMeshUtils::CADSurf | |
static void | OrientateEdges (CADSurfSharedPtr surf, std::vector< CADSystem::EdgeLoopSharedPtr > &ein) |
Static Public Attributes | |
static std::string | key |
Private Member Functions | |
void | Test (Array< OneD, NekDouble > uv) |
Function which tests the the value of uv used is within the surface. More... | |
Handle (Geom_Surface) m_s | |
Alternate OpenCascade object for surface. Used by reverse lookup. More... | |
Private Attributes | |
BRepAdaptor_Surface | m_occSurface |
OpenCascade object for surface. More... | |
Array< OneD, NekDouble > | m_bounds |
parametric bounds More... | |
ShapeAnalysis_Surface * | m_sas |
locuv object (stored because it gets faster with stored information) More... | |
Additional Inherited Members | |
Protected Attributes inherited from Nektar::NekMeshUtils::CADSurf | |
std::vector < CADSystem::EdgeLoopSharedPtr > | m_edges |
List of bounding edges in loops with orientation. More... | |
Protected Attributes inherited from Nektar::NekMeshUtils::CADObject | |
int | m_id |
ID of the vert. More... | |
CADType::cadType | m_type |
type of the cad object More... | |
CADOrientation::Orientation | m_orientation |
orientation of the CADObject More... | |
Definition at line 47 of file CADSurfOCE.h.
|
inline |
Definition at line 58 of file CADSurfOCE.h.
|
inline |
Definition at line 62 of file CADSurfOCE.h.
|
inlinestatic |
Definition at line 51 of file CADSurfOCE.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr().
returns curvature at point uv
Implements Nektar::NekMeshUtils::CADSurf.
Definition at line 127 of file CADSurfOCE.cpp.
|
virtual |
Get the set of first derivatives at parametric point u,v.
uv | Array of u and v parametric coords. |
Implements Nektar::NekMeshUtils::CADSurf.
Definition at line 251 of file CADSurfOCE.cpp.
|
virtual |
Get the set of second derivatives at parametric point u,v.
uv | array of u and v parametric coords |
Implements Nektar::NekMeshUtils::CADSurf.
Definition at line 275 of file CADSurfOCE.cpp.
does unconstrained locuv to project point from anywhere and calculate the distance between the orthonormal projection to the surface and the point
Implements Nektar::NekMeshUtils::CADSurf.
Definition at line 170 of file CADSurfOCE.cpp.
Get the limits of the parametric space for the surface.
Implements Nektar::NekMeshUtils::CADSurf.
Definition at line 76 of file CADSurfOCE.cpp.
|
private |
Alternate OpenCascade object for surface. Used by reverse lookup.
void Nektar::NekMeshUtils::CADSurfOCE::Initialise | ( | int | i, |
TopoDS_Shape | in | ||
) |
Definition at line 48 of file CADSurfOCE.cpp.
References Nektar::StdRegions::eBackwards.
|
virtual |
Performs a reverse look up to find u,v and x,y,z.
p | Array of xyz location |
Implements Nektar::NekMeshUtils::CADSurf.
Definition at line 81 of file CADSurfOCE.cpp.
References ASSERTL0, and WARNINGL2.
Get the normal vector at parametric point u,v.
uv | Array of u and v parametric coords. |
Implements Nektar::NekMeshUtils::CADSurf.
Definition at line 221 of file CADSurfOCE.cpp.
References Nektar::StdRegions::eBackwards.
Get the x,y,z at parametric point u,v.
uv | Array of u and v parametric coords. |
Implements Nektar::NekMeshUtils::CADSurf.
Definition at line 206 of file CADSurfOCE.cpp.
|
virtual |
takes a point from anywhere find the nearest surface point and its uv
Implements Nektar::NekMeshUtils::CADSurf.
Definition at line 185 of file CADSurfOCE.cpp.
Function which tests the the value of uv used is within the surface.
Implements Nektar::NekMeshUtils::CADSurf.
Definition at line 308 of file CADSurfOCE.cpp.
References ASSERTL1.
|
static |
Definition at line 56 of file CADSurfOCE.h.
parametric bounds
Definition at line 87 of file CADSurfOCE.h.
|
private |
OpenCascade object for surface.
Definition at line 83 of file CADSurfOCE.h.
|
private |
locuv object (stored because it gets faster with stored information)
Definition at line 89 of file CADSurfOCE.h.