This is the Boundary class. The boundary defines the curves that delimit a closed area. More...
Inheritance diagram for Dtk_Boundary:Public Member Functions | |
| Dtk_Boundary (const Dtk_Boundary &in) | |
| Copy constructor. More... | |
| Dtk_Boundary (dtk::Span< Dtk_CurvePtr const > exactRepresentation, Dtk_PolylinePtr simplifiedRepresentation) | |
| Construct a boundary provided both its exact representation as curves, as well as a simplified representation as a polyline. More... | |
| Dtk_Boundary (Dtk_Boundary &&in) DTK_NOEXCEPT | |
| Move constructor. More... | |
| Dtk_Int32 | DtkDynamicType (const Dtk_Int32 &inId) |
| Retrieves the dynamic entity type. More... | |
| virtual int | DtkDynamicType (const int &inId)=0 |
| virtual void | dump (FILE *file=stdout) |
| type_detk | get_type_detk () const |
| dtk::Span< Dtk_CurvePtr > | GetExactRepresentation () const |
| Retrieves all curves linked together that makes a boundary. More... | |
| const Dtk_PolylinePtr & | GetSimplifiedRepresentation () const |
| Retrieves a simplified representation of the boundary as a polyline. Useful for simple display. More... | |
| virtual Dtk_Size_t | GetSize () const |
| Dtk_Boundary & | operator= (const Dtk_Boundary &in) |
| Copy assignment operator. More... | |
| Dtk_Boundary & | operator= (Dtk_Boundary &&in) DTK_NOEXCEPT |
| Move assignment operator. More... | |
| Dtk_ErrorStatus | Transform (const Dtk_transfo &inTransfo) |
| Applies a transformation matrix to the entity. //! More... | |
| ~Dtk_Boundary () | |
| Destructor. More... | |
Static Public Member Functions | |
| static Dtk_Boundary * | DtkDynamicCast (Dtk_Object *) |
| Performs a dynamic cast - doesn't need RTTI -. More... | |
Protected Types | |
| enum | { _typeID = DTK_TYPE_OBJECT } |
| enum | { _typeID = DTK_TYPE_BOUNDARY } |
Protected Attributes | |
| Dtk_Handle * | _Private |
| unsigned long | count_ |
This is the Boundary class. The boundary defines the curves that delimit a closed area.
| Dtk_Boundary::Dtk_Boundary | ( | dtk::Span< Dtk_CurvePtr const > | exactRepresentation, |
| Dtk_PolylinePtr | simplifiedRepresentation | ||
| ) |
Construct a boundary provided both its exact representation as curves, as well as a simplified representation as a polyline.
It is expected that both definitions match, that is to say they represent the same geometry. In case the simplified representation isn't provided, it will be computed based on the exact representation by calling Dtk_Curve::ToPolyline.
| [in] | exactRepresentation | : a contiguous sequence of curves representing the exact definition of the boundary. |
| [in] | simplifiedRepresentation | : a single polyline representing the boundary. |
| Dtk_Boundary::Dtk_Boundary | ( | const Dtk_Boundary & | in | ) |
Copy constructor.
| in | Object to copy from. |
| Dtk_Boundary::Dtk_Boundary | ( | Dtk_Boundary && | in | ) |
Move constructor.
| in | Object to move from. |
| Dtk_Boundary::~Dtk_Boundary | ( | ) |
Destructor.
|
static |
Performs a dynamic cast - doesn't need RTTI -.
|
pure virtualinherited |
Implemented in Dtk_Shell, Dtk_Body, Dtk_Lump, Dtk_Volume, Dtk_Face, Dtk_Loop, Dtk_Coedge, Dtk_Edge, Dtk_Vertex, Dtk_TopologicalEntity, Dtk_MeshPolyline, Dtk_MeshSurface, Dtk_TransformedSurface, Dtk_FilletSurface, Dtk_OffsetSurface, Dtk_SphericalSurface, Dtk_ToroidalSurface, Dtk_ConicalSurface, Dtk_CylindricalSurface, Dtk_RuledSurface, Dtk_LinearExtrusionSurface, Dtk_StandardRevolutionSurface, Dtk_RevolutionSurface, Dtk_PlaneSurface, Dtk_NurbsSurface, Dtk_Surface, Dtk_Hyperbola, Dtk_Parabola, Dtk_Ellipse, Dtk_Conic, Dtk_Line, Dtk_Polyline, Dtk_NurbsCurve, Dtk_Curve, Dtk_Point, Dtk_Constraint, Dtk_ConstraintReference, Dtk_AxisSystem, Dtk_Preview, Dtk_Entity, Dtk_picture, Dtk_OverrideSet, Dtk_OverrideInfo, Dtk_MainDoc, Dtk_Component, Dtk_Node, Dtk_DocElement, Dtk_Log, and Dtk_Properties.
|
virtualinherited |
| type_detk Dtk_Boundary::get_type_detk | ( | ) | const |
| dtk::Span<Dtk_CurvePtr> Dtk_Boundary::GetExactRepresentation | ( | ) | const |
Retrieves all curves linked together that makes a boundary.
| const Dtk_PolylinePtr& Dtk_Boundary::GetSimplifiedRepresentation | ( | ) | const |
Retrieves a simplified representation of the boundary as a polyline. Useful for simple display.
|
virtualinherited |
Reimplemented in Dtk_Shell, Dtk_Body, Dtk_Lump, Dtk_Volume, Dtk_Face, Dtk_Loop, Dtk_Coedge, Dtk_Edge, Dtk_Vertex, Dtk_mesh_face, Dtk_mesh, Dtk_TransformedSurface, Dtk_FilletSurface, Dtk_OffsetSurface, Dtk_SphericalSurface, Dtk_ToroidalSurface, Dtk_ConicalSurface, Dtk_CylindricalSurface, Dtk_RuledSurface, Dtk_LinearExtrusionSurface, Dtk_StandardRevolutionSurface, Dtk_RevolutionSurface, Dtk_PlaneSurface, Dtk_NurbsSurface, Dtk_Surface, Dtk_Hyperbola, Dtk_Parabola, Dtk_Ellipse, Dtk_Conic, Dtk_Line, Dtk_Polyline, Dtk_NurbsCurve, Dtk_Curve, Dtk_Point, Dtk_Entity, and Dtk_Info.
| Dtk_Boundary& Dtk_Boundary::operator= | ( | const Dtk_Boundary & | in | ) |
Copy assignment operator.
| in | Object to copy from. |
| Dtk_Boundary& Dtk_Boundary::operator= | ( | Dtk_Boundary && | in | ) |
Move assignment operator.
| in | Object to move from. |
| Dtk_ErrorStatus Dtk_Boundary::Transform | ( | const Dtk_transfo & | inTransfo | ) |
Applies a transformation matrix to the entity. //!
| inTransfo | The transformation matrix to apply. |
|
protected |
|
protectedinherited |