Nektar++
|
#include <CADCurveOCE.h>
Public Member Functions | |
CADCurveOCE () | |
~CADCurveOCE () | |
virtual Array< OneD, NekDouble > | GetBounds () |
Returns the minimum and maximum parametric coords t of the curve. More... | |
virtual NekDouble | Length (NekDouble ti, NekDouble tf) |
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) |
Gets the location (x,y,z) in an array out of the curve at point t . More... | |
virtual Array< OneD, NekDouble > | D2 (NekDouble t) |
Gets the second derivatives at t. More... | |
virtual NekDouble | tAtArcLength (NekDouble s) |
Calculates the parametric coordinate and arclength location defined by s . More... | |
virtual Array< OneD, NekDouble > | GetMinMax () |
Gets the start and end of the curve. More... | |
virtual NekDouble | loct (Array< OneD, NekDouble > xyz) |
virtual NekDouble | Curvature (NekDouble t) |
virtual Array< OneD, NekDouble > | NormalWRT (NekDouble t, int surf) |
virtual Array< OneD, NekDouble > | N (NekDouble t) |
void | Initialise (int i, TopoDS_Shape in) |
Public Member Functions inherited from Nektar::NekMeshUtils::CADCurve | |
CADCurve () | |
Default constructor. More... | |
~CADCurve () | |
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 () |
CADOrientation::Orientation | GetOrienationWRT (int surf) |
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 () |
Static Public Member Functions | |
static CADCurveSharedPtr | create () |
Static Public Attributes | |
static std::string | key |
Private Member Functions | |
Handle (Geom_Curve) m_c | |
Alternate object used for reverse lookups. More... | |
Private Attributes | |
BRepAdaptor_Curve | m_occCurve |
OpenCascade object of the curve. More... | |
TopoDS_Edge | m_occEdge |
OpenCascade edge. More... | |
Additional Inherited Members | |
Protected Attributes inherited from Nektar::NekMeshUtils::CADCurve | |
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... | |
Definition at line 47 of file CADCurveOCE.h.
|
inline |
Definition at line 58 of file CADCurveOCE.h.
|
inline |
Definition at line 62 of file CADCurveOCE.h.
|
inlinestatic |
Definition at line 51 of file CADCurveOCE.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr().
Implements Nektar::NekMeshUtils::CADCurve.
Definition at line 191 of file CADCurveOCE.cpp.
Gets the second derivatives at t.
Implements Nektar::NekMeshUtils::CADCurve.
Definition at line 111 of file CADCurveOCE.cpp.
Returns the minimum and maximum parametric coords t of the curve.
Implements Nektar::NekMeshUtils::CADCurve.
Definition at line 199 of file CADCurveOCE.cpp.
Referenced by Initialise().
Gets the start and end of the curve.
Implements Nektar::NekMeshUtils::CADCurve.
Definition at line 208 of file CADCurveOCE.cpp.
|
private |
Alternate object used for reverse lookups.
|
inline |
Definition at line 77 of file CADCurveOCE.h.
References GetBounds(), Nektar::NekMeshUtils::CADObject::m_id, Nektar::NekMeshUtils::CADCurve::m_length, m_occCurve, and m_occEdge.
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
. Implements Nektar::NekMeshUtils::CADCurve.
Definition at line 71 of file CADCurveOCE.cpp.
Implements Nektar::NekMeshUtils::CADCurve.
Definition at line 81 of file CADCurveOCE.cpp.
References CellMLToNektar.cellml_metadata::p.
Implements Nektar::NekMeshUtils::CADCurve.
Definition at line 168 of file CADCurveOCE.cpp.
|
virtual |
Implements Nektar::NekMeshUtils::CADCurve.
Definition at line 131 of file CADCurveOCE.cpp.
References ASSERTL0, Nektar::StdRegions::eBackwards, class_topology::P, and CellMLToNektar.cellml_metadata::p.
Gets the location (x,y,z) in an array out of the curve at point t
.
t | Parametric coordinate |
Implements Nektar::NekMeshUtils::CADCurve.
Definition at line 99 of file CADCurveOCE.cpp.
Calculates the parametric coordinate and arclength location defined by s
.
s | Arclength location. |
Implements Nektar::NekMeshUtils::CADCurve.
Definition at line 48 of file CADCurveOCE.cpp.
|
static |
Definition at line 56 of file CADCurveOCE.h.
|
private |
OpenCascade object of the curve.
Definition at line 101 of file CADCurveOCE.h.
Referenced by Initialise().
|
private |