|
Nektar++
|
base class for CAD verticies. More...
#include <CADVert.h>
Public Member Functions | |
| CADVert () | |
| Default constructor. | |
| ~CADVert () override | |
| std::array< NekDouble, 3 > | GetLoc () |
| Get x,y,z location of the vertex. | |
| void | SetDegen (int s, CADSurfSharedPtr su, NekDouble u, NekDouble v) |
| returns a node object of the cad vertex | |
| std::array< NekDouble, 2 > | GetDegenUV () |
| parametric location on the degenerate surface, as recorded by SetDegen. Only meaningful when IsDegen() is not -1. | |
| int | IsDegen () |
| query is degenerate | |
| virtual NekDouble | DistanceTo (std::array< NekDouble, 3 > l)=0 |
| Calcuate the distance to a vertex from a point l(x,y,z) | |
| void | AddAdjCurve (CADCurveSharedPtr c) |
| std::vector< std::weak_ptr< CADCurve > > | GetAdjCurves () |
| Get list of CAD curves which are bound by this vertex. | |
Public Member Functions inherited from Nektar::SpatialDomains::CADObject | |
| CADObject () | |
| Default constructor. | |
| virtual | ~CADObject () |
| int | GetId () |
| Return ID of the CAD object. | |
| CADType::cadType | GetType () |
| Get the type of the CAD object. | |
| virtual CADOrientation::Orientation | Orientation () |
| Get the Orientation of the CAD object. | |
| void | SetName (std::string i) |
| Give the CAD object a string name. | |
| std::string | GetName () |
| Get the name of a CAD object. | |
| void | SetLogger (Logger &log) |
| Set the logger for this CAD object. | |
Protected Attributes | |
| std::array< NekDouble, 3 > | m_loc {{0, 0, 0}} |
| mesh convert object of vert | |
| bool | degen |
| degen marker | |
| int | degensurf |
| degen surface | |
| std::array< NekDouble, 2 > | m_degenUV {{0.0, 0.0}} |
| parametric location on the degen surface | |
| std::vector< std::weak_ptr< CADCurve > > | curves |
| adjacent curves | |
Protected Attributes inherited from Nektar::SpatialDomains::CADObject | |
| int | m_id |
| ID of the vert. | |
| CADType::cadType | m_type |
| type of the cad object | |
| CADOrientation::Orientation | m_orientation |
| orientation of the CADObject | |
| std::string | m_name |
| string name of the cad | |
| Logger | m_log |
| Logger. | |
Friends | |
| class | MemoryManager< CADVert > |
|
inline |
Default constructor.
Definition at line 69 of file CADVert.h.
References Nektar::SpatialDomains::CADType::eVert, and Nektar::SpatialDomains::CADObject::m_type.
|
inlineoverride |
|
inline |
Definition at line 123 of file CADVert.h.
References curves.
Calcuate the distance to a vertex from a point l(x,y,z)
Implemented in Nektar::SpatialDomains::CADVertOCE.
Definition at line 59 of file CADVert.cpp.
References m_loc, and tinysimd::sqrt().
|
inline |
|
inline |
parametric location on the degenerate surface, as recorded by SetDegen. Only meaningful when IsDegen() is not -1.
Definition at line 98 of file CADVert.h.
References m_degenUV.
| std::array< NekDouble, 3 > CADVert::GetLoc | ( | ) |
|
inline |
| void CADVert::SetDegen | ( | int | s, |
| CADSurfSharedPtr | su, | ||
| NekDouble | u, | ||
| NekDouble | v | ||
| ) |
returns a node object of the cad vertex
if the vertex is degenerate manually set uv for that surface
Definition at line 41 of file CADVert.cpp.
|
friend |
|
protected |
adjacent curves
Definition at line 146 of file CADVert.h.
Referenced by AddAdjCurve(), and GetAdjCurves().
|
protected |
degen marker
Definition at line 140 of file CADVert.h.
Referenced by Nektar::SpatialDomains::CADVertOCE::Initialise(), IsDegen(), and SetDegen().
|
protected |
|
protected |
parametric location on the degen surface
Definition at line 144 of file CADVert.h.
Referenced by GetDegenUV(), and SetDegen().
|
protected |
mesh convert object of vert
Definition at line 138 of file CADVert.h.
Referenced by DistanceTo(), GetLoc(), and Nektar::SpatialDomains::CADVertOCE::Initialise().