Public Member Functions | |
| VertexIdentifier (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| VertexIdentifier () | |
| VertexIdentifier (meshlib.meshbuilder.VertexIdentifier _other) | |
| meshlib.meshbuilder.VertexIdentifier | assignFromAnother (meshlib.meshbuilder.VertexIdentifier _other) |
| void | reserve (long numTris) |
| void | addTriangles (meshlib.std_vector_std_array_MR_Vector3f_3 buffer) |
| long | numTris () |
| meshlib.Triangulation | takeTriangulation () |
| meshlib.VertCoords | takePoints () |
| Public Member Functions inherited from meshlib.CppObject | |
| final java.lang.foreign.MemorySegment | rawPointer () |
| final boolean | isOwned () |
| final void | close () |
| final java.lang.foreign.MemorySegment | release () |
Additional Inherited Members | |
| Protected Member Functions inherited from meshlib.CppObject | |
| CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner) | |
this class is responsible for giving a unique id to each vertex with distinct coordinates NOTE: the points are considered non-identical if they have the same values but have zero values with different signs (e.g. (0; 0; 1) and (-0; 0; 1)) use Vector3::unsignZeroValues method to get rid of signed zero values if you're unsure of their absence Generated from class MR::MeshBuilder::VertexIdentifier.
Instances created here own their C++ objects, see CppObject.
| meshlib.meshbuilder.VertexIdentifier.VertexIdentifier | ( | java.lang.foreign.MemorySegment | ptr, |
| boolean | owned, | ||
| java.lang.Object | owner ) |
Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.
| meshlib.meshbuilder.VertexIdentifier.VertexIdentifier | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_MeshBuilder_VertexIdentifier_DefaultConstruct().
| meshlib.meshbuilder.VertexIdentifier.VertexIdentifier | ( | meshlib.meshbuilder.VertexIdentifier | _other | ) |
Generated from constructor MR::MeshBuilder::VertexIdentifier::VertexIdentifier. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_MeshBuilder_VertexIdentifier_ConstructFromAnother().
| void meshlib.meshbuilder.VertexIdentifier.addTriangles | ( | meshlib.std_vector_std_array_MR_Vector3f_3 | buffer | ) |
identifies vertices from a chunk of triangles Generated from method MR::MeshBuilder::VertexIdentifier::addTriangles.
Calls MR_MeshBuilder_VertexIdentifier_addTriangles().
| meshlib.meshbuilder.VertexIdentifier meshlib.meshbuilder.VertexIdentifier.assignFromAnother | ( | meshlib.meshbuilder.VertexIdentifier | _other | ) |
Generated from method MR::MeshBuilder::VertexIdentifier::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_MeshBuilder_VertexIdentifier_AssignFromAnother().
| long meshlib.meshbuilder.VertexIdentifier.numTris | ( | ) |
returns the number of triangles added so far Generated from method MR::MeshBuilder::VertexIdentifier::numTris.
Calls MR_MeshBuilder_VertexIdentifier_numTris().
| void meshlib.meshbuilder.VertexIdentifier.reserve | ( | long | numTris | ) |
prepare identification of vertices from given this number of triangles Generated from method MR::MeshBuilder::VertexIdentifier::reserve.
Calls MR_MeshBuilder_VertexIdentifier_reserve().
| meshlib.VertCoords meshlib.meshbuilder.VertexIdentifier.takePoints | ( | ) |
obtains coordinates of unique points in the order of vertex ids Generated from method MR::MeshBuilder::VertexIdentifier::takePoints.
Calls MR_MeshBuilder_VertexIdentifier_takePoints().
| meshlib.Triangulation meshlib.meshbuilder.VertexIdentifier.takeTriangulation | ( | ) |
obtains triangulation with vertex ids Generated from method MR::MeshBuilder::VertexIdentifier::takeTriangulation.
Calls MR_MeshBuilder_VertexIdentifier_takeTriangulation().