DATAKIT API  V2025.1
How to use Geometrical Classes

Geometrical Class Inheritance



Dtk_Point

Dtk_Point is a Geometrical 3D point.
Possible constructors :

Dtk_PointPtr Create(const Dtk_pnt& inToCopy);
Dtk_PointPtr Create(const Dtk_Double64 & inX, const Dtk_Double64 & inY, const Dtk_Double64 & inZ);




Dtk_Curve

Dtk_Curve is a geometrical entity representing a curve. It is an abstract class that cannot be instantiated.
It has several utility methods:

  • GetDomain allows you to get the whole definition domain for the curve.
    Dtk_ErrorStatus GetDomain(Dtk_Double64& outUmin,Dtk_Double64& outUmax) const;
  • SetTrimmingParameters, GetTrimUMin, GetTrimUMax allow you to specify or get the used domain for the curve.
    Dtk_ErrorStatus SetTrimmingParameters(const Dtk_Double64& inUmin,const Dtk_Double64& inUmax);
    Dtk_Double64 GetTrimUMin() const;
    Dtk_Double64 GetTrimUMax() const;
  • ToNurbs converts the curve into a nurbs curve.
  • ToPolyline converts the curve into a polyline.

Curve types



Dtk_Surface

Dtk_Surface is a geometrical entity representing a surface. It is an abstract class that cannot be instantiated.
It has several utility methods:

  • GetDomain allows you to get the whole definition domain for the surface.
  • SetTrimDomain/GetTrimDomain allow you to specify/get the used domain for the surface.
  • ToNurbs converts the surface into nurbs surface.

Surface types

Dtk_StandardRevolutionSurface
This is the Revolution Surface Class. U parametrisation : revolved curve parametrisation V parametris...
Definition: util_geom_dtk.hpp:1105
Dtk_UInt32
uint32_t Dtk_UInt32
Definition: define.h:688
Dtk_Double64
double Dtk_Double64
Definition: define.h:699
DTK_TYPE_NURBS_SURFACE
@ DTK_TYPE_NURBS_SURFACE
Definition: define.h:495
Dtk_Hyperbola::Create
static Dtk_HyperbolaPtr Create(const Dtk_Hyperbola &inToCopy)
Dtk_ErrorStatus
Dtk_ErrorStatus
Definition: error_dtk.hpp:6
Dtk_SmartPtr
Definition: util_ptr_dtk.hpp:37
Dtk_pnt
This is a mathematical point class.
Definition: dtk_pnt.hpp:22
type_detk
type_detk
Definition: define.h:32
Dtk_Parabola::Create
static Dtk_ParabolaPtr Create(const Dtk_Parabola &inToCopy)
Dtk_tab< Dtk_pnt >
Dtk_dir
This is a mathematical direction class.
Definition: dtk_dir.hpp:15