Nektar++
|
base class for CAD curves. More...
#include <CADCurve.h>
Public Member Functions | |
CADCurve () | |
Default constructor. More... | |
~CADCurve () | |
virtual Array< OneD, NekDouble > | GetBounds ()=0 |
Returns the minimum and maximum parametric coords t of the curve. More... | |
virtual NekDouble | Length (NekDouble ti, NekDouble tf)=0 |
Calculates the arclength between the two paremetric points ti and tf . ti must be less than tf . More... | |
virtual Array< OneD, NekDouble > | P (NekDouble t)=0 |
Gets the location (x,y,z) in an array out of the curve at point t . More... | |
virtual Array< OneD, NekDouble > | D2 (NekDouble t)=0 |
Gets the second derivatives at t. More... | |
virtual NekDouble | Curvature (NekDouble t)=0 |
virtual NekDouble | tAtArcLength (NekDouble s)=0 |
Calculates the parametric coordinate and arclength location defined by s . More... | |
virtual Array< OneD, NekDouble > | GetMinMax ()=0 |
Gets the start and end of the curve. More... | |
void | SetAdjSurf (std::pair< CADSurfSharedPtr, CADOrientation::Orientation > i) |
set the ids of the surfaces either side of the curve More... | |
std::vector< std::pair < CADSurfSharedPtr, CADOrientation::Orientation > > | GetAdjSurf () |
NekDouble | GetTotLength () |
void | SetVert (std::vector< CADVertSharedPtr > &falVert) |
std::vector< CADVertSharedPtr > | GetVertex () |
virtual NekDouble | loct (Array< OneD, NekDouble > xyz)=0 |
CADOrientation::Orientation | GetOrienationWRT (int surf) |
virtual Array< OneD, NekDouble > | NormalWRT (NekDouble t, int surf)=0 |
virtual Array< OneD, NekDouble > | N (NekDouble t)=0 |
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 () |
virtual CADOrientation::Orientation | Orientation () |
Protected Attributes | |
NekDouble | m_length |
Length of edge. More... | |
std::vector< std::pair < CADSurfSharedPtr, CADOrientation::Orientation > > | m_adjSurfs |
List of surfaces which this curve belongs to. More... | |
std::vector< CADVertSharedPtr > | m_mainVerts |
list of end vertices 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... | |
Friends | |
class | MemoryManager< CADCurve > |
base class for CAD curves.
Definition at line 52 of file CADCurve.h.
|
inline |
Default constructor.
Definition at line 60 of file CADCurve.h.
References Nektar::NekMeshUtils::CADType::eCurve, and Nektar::NekMeshUtils::CADObject::m_type.
|
inline |
Definition at line 65 of file CADCurve.h.
Implemented in Nektar::NekMeshUtils::CADCurveOCE.
Gets the second derivatives at t.
Implemented in Nektar::NekMeshUtils::CADCurveOCE.
|
inline |
Definition at line 131 of file CADCurve.h.
References m_adjSurfs.
Returns the minimum and maximum parametric coords t of the curve.
Implemented in Nektar::NekMeshUtils::CADCurveOCE.
Gets the start and end of the curve.
Implemented in Nektar::NekMeshUtils::CADCurveOCE.
|
inline |
Definition at line 166 of file CADCurve.h.
References ASSERTL0, Nektar::NekMeshUtils::CADOrientation::eUnknown, and m_adjSurfs.
|
inline |
Definition at line 139 of file CADCurve.h.
References m_length.
|
inline |
Definition at line 156 of file CADCurve.h.
References m_mainVerts.
|
pure virtual |
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
. Implemented in Nektar::NekMeshUtils::CADCurveOCE.
Implemented in Nektar::NekMeshUtils::CADCurveOCE.
Implemented in Nektar::NekMeshUtils::CADCurveOCE.
|
pure virtual |
Implemented in Nektar::NekMeshUtils::CADCurveOCE.
Gets the location (x,y,z) in an array out of the curve at point t
.
t | Parametric coordinate |
Implemented in Nektar::NekMeshUtils::CADCurveOCE.
|
inline |
set the ids of the surfaces either side of the curve
Definition at line 123 of file CADCurve.h.
References m_adjSurfs.
|
inline |
Definition at line 147 of file CADCurve.h.
References m_mainVerts.
Calculates the parametric coordinate and arclength location defined by s
.
s | Arclength location. |
Implemented in Nektar::NekMeshUtils::CADCurveOCE.
|
friend |
Definition at line 55 of file CADCurve.h.
|
protected |
List of surfaces which this curve belongs to.
Definition at line 189 of file CADCurve.h.
Referenced by GetAdjSurf(), GetOrienationWRT(), and SetAdjSurf().
|
protected |
Length of edge.
Definition at line 187 of file CADCurve.h.
Referenced by GetTotLength(), and Nektar::NekMeshUtils::CADCurveOCE::Initialise().
|
protected |
list of end vertices
Definition at line 191 of file CADCurve.h.
Referenced by GetVertex(), and SetVert().