![Logo](tetiere_ht.jpg) |
DATAKIT API
V2025.1
|
|
template <typename T>
inline void Shift(T& mesh,
double sh)
{
mesh->Transform(t);
}
{
}
{
Dtk_string outputDirectory = inResultDirectory + L
"dtk/Plmxml/";
Dtk_string axlename = outputDirectory + L
"axle.jt";
Dtk_string wheelname = outputDirectory + L
"wheel.jt";
Dtk_string plmxmlfile = outputDirectory + L
"sample1.plmxml";
CHECK_OK(P.OpenInstance(
"Axles", id_of_axles));
std::cout <<
"=> " << plmxmlfile.
c_str() << endl;
}
{
std::cout << endl << "----------------------------------------------" << endl;
std::cout << "Plmxml Write start" << endl;
std::cout << "Plmxml Write end" << endl;
return err;
}
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:1791
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:692
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:140
void push_back(const T &x)
Inserts an element at the end of the array.
Definition: util_stl_dtk.hpp:415
This is Jt Interface class used to write Jt files.
Definition: jtw.h:8
void Shift(T &mesh, double sh)
Definition: testlibplmxmlwrite.cpp:20
This is a mathematical direction class.
Definition: dtk_dir.hpp:15
Dtk_ErrorStatus AddBody(const Dtk_BodyPtr &inToWrite, const Dtk_tab< Dtk_Float32 > &makelods=Dtk_tab< Dtk_Float32 >(), Dtk_Float32 inLossytol=0)
Add a body into the current node.
int PlmxmlWriteSample(const Dtk_string &inResultDirectory)
Definition: testlibplmxmlwrite.cpp:100