  | 
  
    DATAKIT API
    V2025.4
    
   
   | 
           
 | 
 
 
 
 
◆ CreateJtFileForPLMXML()
◆ PlmxmlWriteSample()
      
        
          | int PlmxmlWriteSample  | 
          ( | 
          const Dtk_string &  | 
          inResultDirectory | ) | 
           | 
        
      
 
  102      std::cout << endl << 
"----------------------------------------------" << endl;
 
  103      std::cout << 
"Plmxml Write start" << endl;
 
  111      std::cout << 
"Plmxml Write end" << endl;
 
 
 
 
◆ PlmxmlwritesampleJT()
   42      Dtk_string outputDirectory = inResultDirectory + L
"Plmxml/";
 
   44      outputDirectory.
mkdir();
 
   46      Dtk_string axlename = outputDirectory + L
"axle.jt";
 
   47      Dtk_string wheelname = outputDirectory + L
"wheel.jt";
 
   48      Dtk_string plmxmlfile = outputDirectory + L
"sample1.plmxml";
 
   68      CHECK_OK(P.OpenInstance(
"RootNode"));   
 
   69           CHECK_OK(P.OpenInstance(
"Axles", id_of_axles)); 
 
   91      std::cout << 
"=> " << plmxmlfile.
c_str() << endl;
 
 
 
 
◆ Shift()
template<typename T > 
      
        
          | void Shift  | 
          ( | 
          T &  | 
          mesh,  | 
        
        
           | 
           | 
          double  | 
          sh  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
 
 
This is the Transformation dedicated class.
Definition: dtk_transfo.hpp:19
 
Definition: plmxmlw.hpp:12
 
Dtk_BodyPtr CreateCyl(double radius, double height)
Definition: testcreatecube.cpp:1754
 
This is a high level string class.
Definition: dtk_string.hpp:58
 
int tess_InitTesselation(Dtk_string inWorkingDirectory, double inTolerance)
Init the tesselation library.
 
Dtk_ErrorStatus PlmxmlwritesampleJT(const Dtk_string &inResultDirectory)
Definition: testlibplmxmlwrite.cpp:36
 
int64_t Dtk_Int64
Definition: define.h:694
 
Dtk_ErrorStatus CreateJtFileForPLMXML(const Dtk_string &ficname, const Dtk_BodyPtr &body)
Definition: testlibplmxmlwrite.cpp:27
 
Dtk_ErrorStatus
Definition: error_dtk.hpp:6
 
#define CHECK_OK(X)
Definition: testwriters.h:9
 
Definition: util_ptr_dtk.hpp:37
 
const char * c_str() const
Retrieve the ASCII conversion string.
 
int mkdir() const
File Utility : Create a Directory.
 
This is a mathematical point class.
Definition: dtk_pnt.hpp:22
 
void FixPathSeparator()
File Utility : Fixes path separator consistency. It lets you replace the '\' or '/' by the OS needed ...
 
int tess_ComputeBoundariesFromMesh()
: Check value of option memorize noundaries of mesh
 
This is a high level array class.
Definition: util_stl_dtk.hpp:85
 
void addTranslate(const Dtk_dir &V)
Translate the Dtk_transfo.
 
void tess_EndTesselation()
Free the data used by tesselation library.
 
@ dtkNoError
Definition: error_dtk.hpp:144
 
void push_back(const T &x)
Inserts an element at the end of the array.
Definition: util_stl_dtk.hpp:417
 
This is Jt Interface class used to write Jt files.
Definition: jtw.h:21
 
This is a mathematical direction class.
Definition: dtk_dir.hpp:15