Point3D
Class
class GeometricItem relation material range Material, cardinality [0, 1] class Point class Point3D property coordinates range double (64 bit), cardinality [0, 3] property x range double (64 bit), cardinality [0, 1] property y range double (64 bit), cardinality [0, 1] property z range double (64 bit), cardinality [0, 1] property asOpenGL range bool, cardinality [0, 1]
Example
Here you can find code snippits that show how the API call Point3D can be used.
int64_t model = CreateModel(); if (model) { // // Classes // int64_t classPoint3D = GetClassByName(model, "Point3D"); // // Datatype Properties (attributes) // int64_t propertyCoordinates = GetPropertyByName(model, "coordinates"); // // Instances (creating) // int64_t myInstancePoint3D = CreateInstance(classPoint3D, nullptr); double coordinates[3] = { 0., 2., 0. }; SetDatatypeProperty(myInstancePoint3D, propertyCoordinates, coordinates, 3); // // The resulting model can be viewed in 3D-Editor.exe // SaveModel(model, "c:\\created\\myPoint3D.bin"); CloseModel(model); }