DATAKIT SDK  V2026.4
testcreatecube.hpp File Reference

Go to the source code of this file.

Namespaces

 sampleWriter
 

Functions

Dtk_BodyPtr sampleWriter::CreateAxis ()
 Creates a reference body (infinite + reference flags) containing a single named axis line with metadata. More...
 
Dtk_AxisSystemPtr sampleWriter::CreateAxisSystem ()
 Creates a named axis system with a custom orientation matrix, red color, layer 123, and metadata. More...
 
Dtk_BodyPtr sampleWriter::CreateCube ()
 Creates a 100x100x100 mm closed BRep cube body. Builds the full BRep hierarchy (Vertex, Edge, Coedge, Loop, Face, Shell, Volume, Lump), assigns named topology entities, per-face colors, IDs, and metadata. More...
 
Dtk_BodyPtr sampleWriter::CreateCurves ()
 Creates a wireframe body containing a circle, ellipse, line, and NURBS curve, each with a distinct color and name. More...
 
Dtk_BodyPtr sampleWriter::CreateCurvesStyle ()
 Creates a wireframe body demonstrating curve display styles: thick circle (4 mm), dashed blue circle, and dotted magenta circle (2 mm). More...
 
Dtk_BodyPtr sampleWriter::CreateCyl (double radius, double height)
 Creates a BRep cylinder body with the given radius and height using analytical cylindrical and planar surfaces. More...
 
Dtk_BodyPtr sampleWriter::CreateEsquisse2D ()
 Creates a 2D wireframe sketch body (planar, lying in the XY plane) containing lines, arc circles, circles, ellipses, and arc ellipses. More...
 
Dtk_BodyPtr sampleWriter::CreateEsquisse3D ()
 Creates a 3D wireframe sketch body containing points, lines, NURBS splines, circles, arc circles, ellipses, and arc ellipses. More...
 
Dtk_BodyPtr sampleWriter::CreateInfinitePlane ()
 Creates a reference body flagged as an infinite plane (InfiniteGeometryFlag + RefEntityFlag), with color and metadata. More...
 
Dtk_BodyPtr sampleWriter::CreateMixedBody ()
 Creates a mixed body combining a closed BRep cube (solid) with additional free surfaces and wireframe curves in the same body. More...
 
Dtk_BodyPtr sampleWriter::CreateOpenShell ()
 Creates an open shell body containing a single trimmed cylindrical surface (half cylinder, not closed). More...
 
Dtk_BodyPtr sampleWriter::CreatePoint ()
 Creates a wireframe body containing a single named red point with metadata. More...