Vertex indicates bound of an edge. Vertex has Dtk_Point as geometry value. More...
Inheritance diagram for Dtk_Vertex:Public Member Functions | |
| virtual Dtk_ErrorStatus | _Store (void *) |
| Internal Use. More... | |
| Dtk_ErrorStatus | AddParentEdge (const Dtk_EdgePtr &inParentEdge) |
| Add parent Edge. More... | |
| Dtk_ErrorStatus | AddParentEdge (const Dtk_ID &inParentEdgeId) |
| Add parent Edge. More... | |
| int | DtkDynamicType (const int &inId) |
| Get smart pointer type. More... | |
| virtual void | dump (FILE *file=stdout) |
| Dtk_InfoPtr | get_info () const |
| enum type_detk | get_type_detk () const |
| Return Type of entity. More... | |
| Dtk_PointPtr | GetGeom () const |
| Return associated geometry. More... | |
| const Dtk_ID & | GetID () const |
| Get Internal UniqueID. More... | |
| Dtk_Size_t | GetNumParentEdges () const |
| Return Number of Parent Edge. More... | |
| Dtk_ErrorStatus | GetParentEdge (const Dtk_Size_t &inIndex, Dtk_EdgePtr &outParentEdge) const |
| Return parent edge at inIndex. More... | |
| virtual Dtk_Size_t | GetSize () const |
| Internal Use. More... | |
| Dtk_ErrorStatus | GetTolerance (Dtk_Double64 &outTolerance) |
| Get Tolerance. More... | |
| Dtk_ID | GetTopoID () const |
| Dtk_InfoPtr & | info () |
| virtual void | PrepareTransfo () |
| SetAsDeprecated ("2022.1", "Use GetTolerance(Dtk_Double64 &outTolerance) method instead.") Dtk_Double64 GetTolerance() | |
| Get Tolerance. More... | |
| void | SetGeom (const Dtk_PointPtr &inPoint) |
| Set Geometry. More... | |
| Dtk_ErrorStatus | SetParentBody (const Dtk_BodyPtr &inParentBody) |
| void | SetTolerance (Dtk_Double64 inTol) |
| Set Tolerance. More... | |
| virtual Dtk_ErrorStatus | Transform (const Dtk_transfo &inTransfo) |
| Transform object. More... | |
Static Public Member Functions | |
| static Dtk_VertexPtr | Create (const Dtk_BodyPtr &inParentBody) |
| Create a vertex in a body. More... | |
| static Dtk_Vertex * | DtkDynamicCast (Dtk_Object *inObject) |
| Cast object in vertex. More... | |
Protected Types | |
| enum | { _typeID = DTK_TYPE_TOPOLOGICAL_REPRESENTATION_ITEM } |
| enum | { _typeID = DTK_TYPE_VERTEX } |
Protected Member Functions | |
| void | _Clone (Dtk_TopologicalEntityPtr &outTopo, Dtk_Body *_inParentBody) |
| void | _copy (const Dtk_Entity &s) |
| void | _Copy (const Dtk_Vertex &inTopo, Dtk_Body *inParentBody) |
| void | _init () |
| void | _Init () |
| void | _reset () |
| void | _Reset () |
| virtual Dtk_Object * | Clone () |
| Dtk_Vertex () | |
| Dtk_Vertex (const Dtk_Vertex &inTopo, Dtk_Body *inParentBody) | |
| virtual | ~Dtk_Vertex () |
Protected Attributes | |
| Dtk_Handle * | _Private |
| unsigned long | count_ |
Vertex indicates bound of an edge. Vertex has Dtk_Point as geometry value.
|
protected |
|
protected |
|
protectedvirtual |
|
protectedvirtual |
Implements Dtk_TopologicalEntity.
|
protectedinherited |
|
protected |
|
protectedinherited |
|
protected |
|
protectedinherited |
|
protected |
|
virtual |
Internal Use.
Reimplemented from Dtk_Entity.
| Dtk_ErrorStatus Dtk_Vertex::AddParentEdge | ( | const Dtk_EdgePtr & | inParentEdge | ) |
Add parent Edge.
| [in] | inParentEdge | : pointer of parent edge |
| Dtk_ErrorStatus Dtk_Vertex::AddParentEdge | ( | const Dtk_ID & | inParentEdgeId | ) |
Add parent Edge.
| [in] | inParentEdgeId | : UUID of parent edge |
|
protectedvirtualinherited |
Implements Dtk_Entity.
|
static |
Create a vertex in a body.
| [in] | inParentBody | : parent body |
|
static |
Cast object in vertex.
| [in] | inObject | : object to cast |
|
virtual |
|
virtualinherited |
|
inherited |
|
virtual |
| Dtk_PointPtr Dtk_Vertex::GetGeom | ( | ) | const |
Return associated geometry.
|
inherited |
Get Internal UniqueID.
| Dtk_Size_t Dtk_Vertex::GetNumParentEdges | ( | ) | const |
Return Number of Parent Edge.
| Dtk_ErrorStatus Dtk_Vertex::GetParentEdge | ( | const Dtk_Size_t & | inIndex, |
| Dtk_EdgePtr & | outParentEdge | ||
| ) | const |
Return parent edge at inIndex.
| [in] | inIndex | : index of parent edge |
| [out] | outParentEdge | : pointer of parent edge |
|
virtual |
Internal Use.
Reimplemented from Dtk_Entity.
| Dtk_ErrorStatus Dtk_Vertex::GetTolerance | ( | Dtk_Double64 & | outTolerance | ) |
Get Tolerance.
| [out] | outTolerance | : vertex tolerance |
|
virtual |
Reimplemented from Dtk_TopologicalEntity.
|
inherited |
|
virtualinherited |
Reimplemented in Dtk_OffsetSurface.
| Dtk_Vertex::SetAsDeprecated | ( | "2022.1" | , |
| "Use GetTolerance(Dtk_Double64 &outTolerance) method instead." | |||
| ) |
Get Tolerance.
| void Dtk_Vertex::SetGeom | ( | const Dtk_PointPtr & | inPoint | ) |
Set Geometry.
| [in] | inPoint | : Point |
|
virtual |
Reimplemented from Dtk_TopologicalEntity.
| void Dtk_Vertex::SetTolerance | ( | Dtk_Double64 | inTol | ) |
Set Tolerance.
| [in] | inTol | : Tolerance |
|
virtualinherited |
Transform object.
| [in] | inTransfo | : matrix to apply |
Implements Dtk_Entity.
|
protected |
|
protectedinherited |