DATAKIT API  V2025.1
testcreatecube.cpp File Reference

Namespaces

 sampleWriter
 

Enumerations

enum  {
  sampleWriter::Lump = 1, sampleWriter::Volume = 2, sampleWriter::Shell = 3, sampleWriter::Vertex_A = 9,
  sampleWriter::Vertex_B = 11, sampleWriter::Vertex_C = 17, sampleWriter::Vertex_D = 23, sampleWriter::Vertex_E = 37,
  sampleWriter::Vertex_F = 45, sampleWriter::Vertex_G = 63, sampleWriter::Vertex_H = 81, sampleWriter::Edge_AB = 14,
  sampleWriter::Edge_CA = 20, sampleWriter::Edge_DC = 26, sampleWriter::Edge_BD = 30, sampleWriter::Edge_EA = 40,
  sampleWriter::Edge_FB = 48, sampleWriter::Edge_FE = 52, sampleWriter::Edge_GD = 66, sampleWriter::Edge_GF = 70,
  sampleWriter::Edge_HC = 84, sampleWriter::Edge_HG = 88, sampleWriter::Edge_EH = 96, sampleWriter::Coedge0_AB = 8,
  sampleWriter::Coedge1_AB = 42, sampleWriter::Coedge0_CA = 16, sampleWriter::Coedge5_CA = 112, sampleWriter::Coedge0_DC = 22,
  sampleWriter::Coedge3_DC = 78, sampleWriter::Coedge0_BD = 28, sampleWriter::Coedge2_BD = 60, sampleWriter::Coedge1_EA = 36,
  sampleWriter::Coedge5_EA = 114, sampleWriter::Coedge1_FB = 44, sampleWriter::Coedge2_FB = 58, sampleWriter::Coedge1_FE = 50,
  sampleWriter::Coedge2_GD = 62, sampleWriter::Coedge3_GD = 76, sampleWriter::Coedge4_FE = 98, sampleWriter::Coedge2_GF = 68,
  sampleWriter::Coedge4_GF = 100, sampleWriter::Coedge3_HC = 80, sampleWriter::Coedge5_HC = 110, sampleWriter::Coedge3_HG = 86,
  sampleWriter::Coedge4_HG = 102, sampleWriter::Coedge4_EH = 94, sampleWriter::Coedge5_EH = 108, sampleWriter::Loop0_ABCD = 7,
  sampleWriter::Loop1_ABFE = 35, sampleWriter::Loop2_FBDG = 57, sampleWriter::Loop3_GDCH = 75, sampleWriter::Loop4_EFGH = 93,
  sampleWriter::Loop5_EHCA = 107, sampleWriter::FaceABCD = 5, sampleWriter::FaceABFE = 33, sampleWriter::FaceFBDG = 55,
  sampleWriter::FaceGDCH = 73, sampleWriter::FaceEFGH = 91, sampleWriter::FaceEHCA = 105
}
 

Functions

Dtk_BodyPtr sampleWriter::CreateAxis ()
 
Dtk_AxisSystemPtr sampleWriter::CreateAxisSystem ()
 
Dtk_BodyPtr sampleWriter::CreateCube ()
 
Dtk_BodyPtr sampleWriter::CreateCurves ()
 
Dtk_BodyPtr sampleWriter::CreateCurvesStyle ()
 
Dtk_BodyPtr sampleWriter::CreateCyl (double radius, double height)
 
Dtk_BodyPtr sampleWriter::CreateEsquisse2D ()
 
Dtk_BodyPtr sampleWriter::CreateEsquisse3D ()
 
Dtk_BodyPtr sampleWriter::CreateInfinitePlane ()
 
Dtk_BodyPtr sampleWriter::CreateOpenShell ()
 
void sampleWriter::CreateOpenShell (std::map< Dtk_ID, Dtk_EntityPtr > &outArrayTopo, const Dtk_BodyPtr &inDtkBody)
 
Dtk_BodyPtr sampleWriter::CreatePoint ()
 
void sampleWriter::CreateTopoCoEdge (std::map< Dtk_ID, Dtk_EntityPtr > &outArrayTopo, const Dtk_BodyPtr &inDtkBody)
 
void sampleWriter::CreateTopoEdge (std::map< Dtk_ID, Dtk_EntityPtr > &outArrayTopo, const Dtk_BodyPtr &inDtkBody)
 
void sampleWriter::CreateTopoFace (std::map< Dtk_ID, Dtk_EntityPtr > &outArrayTopo, const Dtk_BodyPtr &inDtkBody)
 
void sampleWriter::CreateTopoLoop (std::map< Dtk_ID, Dtk_EntityPtr > &outArrayTopo, const Dtk_BodyPtr &inDtkBody)
 
void sampleWriter::CreateTopoLump (std::map< Dtk_ID, Dtk_EntityPtr > &outArrayTopo, const Dtk_BodyPtr &inDtkBody)
 
void sampleWriter::CreateTopoShell (std::map< Dtk_ID, Dtk_EntityPtr > &outArrayTopo, const Dtk_BodyPtr &inDtkBody)
 
void sampleWriter::CreateTopoVertex (std::map< Dtk_ID, Dtk_EntityPtr > &outArrayTopo, const Dtk_BodyPtr &inDtkBody)
 
void sampleWriter::CreateTopoVolume (std::map< Dtk_ID, Dtk_EntityPtr > &outArrayTopo, const Dtk_BodyPtr &inDtkBody)
 
void sampleWriter::FillInfos (Dtk_InfoPtr &inf, Dtk_ID id, const Dtk_RGB &color)
 
Dtk_CurvePtr sampleWriter::MakeArc2D (const Dtk_pnt &P0, double radius, double from, double to)
 
Dtk_CoedgePtr sampleWriter::MakeCoedge (Dtk_BodyPtr &body, const Dtk_EdgePtr edge, Dtk_bool sensedgeVScoedge, const Dtk_CurvePtr &curve2d)
 
Dtk_SurfacePtr sampleWriter::MakeCyl (const Dtk_pnt &O, double radius, double height)
 
Dtk_EdgePtr sampleWriter::MakeEdge (Dtk_BodyPtr &body, const Dtk_VertexPtr &vstart, const Dtk_VertexPtr &vend, const Dtk_CurvePtr &curve3d, Dtk_ID id)
 
Dtk_FacePtr sampleWriter::MakeOuterFace (Dtk_BodyPtr &body, const Dtk_SurfacePtr &surf, const Dtk_CoedgePtr &c0, const Dtk_CoedgePtr &c1, const Dtk_CoedgePtr &c2, const Dtk_CoedgePtr &c3)
 
Dtk_SurfacePtr sampleWriter::MakePlane (const Dtk_pnt &O, const Dtk_pnt &N, double trim)
 
Dtk_CurvePtr sampleWriter::MakeSegment (const Dtk_pnt &P0, const Dtk_pnt &P1)
 
Dtk_CurvePtr sampleWriter::MakeSegment2D (double xmin, double ymin, double xmax, double ymax)
 
Dtk_VertexPtr sampleWriter::MakeVertex (Dtk_BodyPtr &body, const Dtk_pnt &P)