|
Nektar++
|
class for CAD curves. More...
#include <CADCurve.h>


Public Member Functions | |
| CADCurve (int i, TopoDS_Shape in) | |
| Default constructor. More... | |
| ~CADCurve () | |
| 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... | |
| Array< OneD, NekDouble > | D2 (NekDouble t) |
| Gets the second derivatives at t. More... | |
| NekDouble | tAtArcLength (NekDouble s) |
Calculates the parametric coordinate and arclength location defined by s. More... | |
| Array< OneD, NekDouble > | GetMinMax () |
| Gets the start and end of the curve. More... | |
| void | SetAdjSurf (std::vector< CADSurfSharedPtr > i) |
| set the ids of the surfaces either side of the curve More... | |
| std::vector< CADSurfSharedPtr > | GetAdjSurf () |
| returns the ids of neigbouring surfaces More... | |
| NekDouble | GetTotLength () |
| returns lenght of the curve More... | |
| void | SetVert (std::vector< CADVertSharedPtr > &falVert) |
| std::vector< CADVertSharedPtr > | GetVertex () |
| get the ids of the vertices that are the ends of the curve, which are in the main cad list More... | |
Public Member Functions inherited from Nektar::NekMeshUtils::CADObj | |
| CADObj () | |
| Default constructor. More... | |
| virtual | ~CADObj () |
| int | GetId () |
| Return ID of the vertex. More... | |
| cadType | GetType () |
Private Attributes | |
| BRepAdaptor_Curve | m_occCurve |
| OpenCascade object of the curve. More... | |
| TopoDS_Edge | m_occEdge |
| OpenCascade edge. More... | |
| NekDouble | m_length |
| Length of edge. More... | |
| std::vector< CADSurfSharedPtr > | m_adjSurfs |
| List of surfaces which this curve belongs to. More... | |
| std::vector< CADVertSharedPtr > | m_mainVerts |
| list of end vertices More... | |
Friends | |
| class | MemoryManager< CADCurve > |
Additional Inherited Members | |
Protected Attributes inherited from Nektar::NekMeshUtils::CADObj | |
| int | m_id |
| ID of the vert. More... | |
| cadType | m_type |
| type of the cad object More... | |
class for CAD curves.
This class wraps the OpenCascade BRepAdaptor_Curve class for use with Nektar++.
Definition at line 61 of file CADCurve.h.
| Nektar::NekMeshUtils::CADCurve::CADCurve | ( | int | i, |
| TopoDS_Shape | in | ||
| ) |
Default constructor.
Definition at line 45 of file CADCurve.cpp.
References Nektar::NekMeshUtils::curve.
|
inline |
Definition at line 71 of file CADCurve.h.
Returns the minimum and maximum parametric coords t of the curve.
Definition at line 130 of file CADCurve.cpp.
Gets the second derivatives at t.
Definition at line 110 of file CADCurve.cpp.
|
inline |
returns the ids of neigbouring surfaces
Definition at line 129 of file CADCurve.h.
References m_adjSurfs.
Gets the start and end of the curve.
Definition at line 139 of file CADCurve.cpp.
|
inline |
returns lenght of the curve
Definition at line 135 of file CADCurve.h.
References m_length.
|
inline |
get the ids of the vertices that are the ends of the curve, which are in the main cad list
Definition at line 150 of file CADCurve.h.
References m_mainVerts.
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 87 of file CADCurve.cpp.
Gets the location (x,y,z) in an array out of the curve at point t.
| t | Parametric coordinate |
Definition at line 98 of file CADCurve.cpp.
|
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 143 of file CADCurve.h.
References m_mainVerts.
Calculates the parametric coordinate and arclength location defined by s.
| s | Arclength location. |
Definition at line 64 of file CADCurve.cpp.
|
friend |
Definition at line 64 of file CADCurve.h.
|
private |
List of surfaces which this curve belongs to.
Definition at line 163 of file CADCurve.h.
Referenced by GetAdjSurf(), and SetAdjSurf().
|
private |
|
private |
list of end vertices
Definition at line 165 of file CADCurve.h.
Referenced by GetVertex(), and SetVert().
|
private |
OpenCascade object of the curve.
Definition at line 157 of file CADCurve.h.
|
private |
OpenCascade edge.
Definition at line 159 of file CADCurve.h.
1.8.8