Nektar++
|
class for CAD curves. More...
#include <CADCurve.h>
Public Member Functions | |
CADCurve (int i, TopoDS_Shape in) | |
Default constructor. More... | |
Array< OneD, NekDouble > | Bounds () |
Returns the minimum and maximum parametric coords t of the curve. More... | |
NekDouble | Length (NekDouble ti, NekDouble tf) |
Calculates the arclength between the two paremetric points ti and tf . ti must be less than tf . More... | |
Array< OneD, NekDouble > | P (NekDouble t) |
Gets the location (x,y,z) in an array out of the curve at point t . More... | |
NekDouble | tAtArcLength (NekDouble s) |
Calculates the parametric coordinate and arclength location defined by s . More... | |
Array< OneD, NekDouble > | GetMinMax () |
Gets OpenCascade point objects for the start and end of the curve. More... | |
int | GetID () |
void | SetAdjSurf (std::vector< int > i) |
std::vector< int > | GetAdjSurf () |
Private Attributes | |
int | m_ID |
ID of the curve. More... | |
BRepAdaptor_Curve | m_occCurve |
OpenCascade object of the curve. More... | |
std::vector< int > | m_adjSurfs |
List of surfaces which this curve belongs to. More... | |
Friends | |
class | MemoryManager< CADCurve > |
class for CAD curves.
This class wraps the OpenCascade BRepAdaptor_Curve class for use with Nektar++.
Definition at line 56 of file CADCurve.h.
Nektar::LibUtilities::CADCurve::CADCurve | ( | int | i, |
TopoDS_Shape | in | ||
) |
Default constructor.
Definition at line 46 of file CADCurve.cpp.
References m_occCurve.
Returns the minimum and maximum parametric coords t of the curve.
Definition at line 142 of file CADCurve.cpp.
References m_occCurve.
|
inline |
Definition at line 78 of file CADCurve.h.
References m_adjSurfs.
|
inline |
Gets OpenCascade point objects for the start and end of the curve.
Definition at line 157 of file CADCurve.cpp.
References m_occCurve.
Calculates the arclength between the two paremetric points ti
and tf
. ti
must be less than tf
.
ti | First parametric coordinate. |
tf | Second parametric coordinate. |
ti
and tf
. Definition at line 96 of file CADCurve.cpp.
References m_occCurve.
Gets the location (x,y,z) in an array out of the curve at point t
.
t | Parametric coordinate |
Definition at line 124 of file CADCurve.cpp.
References m_occCurve.
|
inline |
Definition at line 73 of file CADCurve.h.
References m_adjSurfs.
Calculates the parametric coordinate and arclength location defined by s
.
s | Arclength location. |
Definition at line 65 of file CADCurve.cpp.
References m_occCurve.
|
friend |
Definition at line 59 of file CADCurve.h.
|
private |
List of surfaces which this curve belongs to.
Definition at line 89 of file CADCurve.h.
Referenced by GetAdjSurf(), and SetAdjSurf().
|
private |
|
private |
OpenCascade object of the curve.
Definition at line 87 of file CADCurve.h.
Referenced by Bounds(), CADCurve(), GetMinMax(), Length(), P(), and tAtArcLength().