MeshLib Java Docs
Loading...
Searching...
No Matches
meshlib.BooleanPreCutResult Class Reference
Inheritance diagram for meshlib.BooleanPreCutResult:

Public Member Functions

 BooleanPreCutResult (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 BooleanPreCutResult ()
 BooleanPreCutResult (meshlib.Mesh mesh, meshlib.OneMeshContours contours, meshlib.Vector_MR_Vector_MR_VarEdgeTri intersections, meshlib.ConvertToIntVector toInt, meshlib.AffineXf3f rigidB2A, long meshAVertsNum, boolean isMeshA)
 BooleanPreCutResult (meshlib.BooleanPreCutResult _other)
meshlib.BooleanPreCutResult assignFromAnother (meshlib.BooleanPreCutResult _other)
meshlib.SortIntersectionsData sortData (meshlib.Mesh otherMesh)
meshlib.Mesh mesh ()
void setMesh (meshlib.Mesh value)
meshlib.OneMeshContours contours ()
void setContours (meshlib.OneMeshContours value)
meshlib.Vector_MR_Vector_MR_VarEdgeTri intersections ()
void setIntersections (meshlib.Vector_MR_Vector_MR_VarEdgeTri value)
meshlib.ConvertToIntVector toInt ()
void setToInt (meshlib.ConvertToIntVector value)
meshlib.std_optional_MR_AffineXf3f rigidB2A ()
void setRigidB2A (meshlib.AffineXf3f value)
long meshAVertsNum ()
void setMeshAVertsNum (long value)
boolean isMeshA ()
void setIsMeshA (boolean value)
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)

Detailed Description

a mesh of the boolean and its contours of intersection with the other mesh before the cut, with the boolean's data for an exact cut; the contours can include lone ones (inside one face, crossing none of its edges), which cutMesh connects exactly only given the boolean's sorting data, see sortData Generated from class MR::BooleanPreCutResult.

Instances created here own their C++ objects, see CppObject.

Constructor & Destructor Documentation

◆ BooleanPreCutResult() [1/4]

meshlib.BooleanPreCutResult.BooleanPreCutResult ( 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.

◆ BooleanPreCutResult() [2/4]

meshlib.BooleanPreCutResult.BooleanPreCutResult ( )

Constructs an empty (default-constructed) instance.

Calls MR_BooleanPreCutResult_DefaultConstruct().

◆ BooleanPreCutResult() [3/4]

meshlib.BooleanPreCutResult.BooleanPreCutResult ( meshlib.Mesh mesh,
meshlib.OneMeshContours contours,
meshlib.Vector_MR_Vector_MR_VarEdgeTri intersections,
meshlib.ConvertToIntVector toInt,
meshlib.AffineXf3f rigidB2A,
long meshAVertsNum,
boolean isMeshA )

Constructs MR::BooleanPreCutResult elementwise. The reference to the parameter mesh might be preserved in the constructed object. The reference to the parameter contours might be preserved in the constructed object. The reference to the parameter intersections might be preserved in the constructed object. The reference to the parameter toInt might be preserved in the constructed object. The reference to the parameter rigidB2A might be preserved in the constructed object. The reference to the parameter meshAVertsNum might be preserved in the constructed object.

Calls MR_BooleanPreCutResult_ConstructFrom().

◆ BooleanPreCutResult() [4/4]

meshlib.BooleanPreCutResult.BooleanPreCutResult ( meshlib.BooleanPreCutResult _other)

Generated from constructor MR::BooleanPreCutResult::BooleanPreCutResult. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

Calls MR_BooleanPreCutResult_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.BooleanPreCutResult meshlib.BooleanPreCutResult.assignFromAnother ( meshlib.BooleanPreCutResult _other)

Generated from method MR::BooleanPreCutResult::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.

Calls MR_BooleanPreCutResult_AssignFromAnother().

◆ contours()

meshlib.OneMeshContours meshlib.BooleanPreCutResult.contours ( )

Returns a pointer to a member variable of class MR::BooleanPreCutResult named contours. The reference to this object might be preserved as the return value.

Calls MR_BooleanPreCutResult_Get_contours().

◆ intersections()

meshlib.Vector_MR_Vector_MR_VarEdgeTri meshlib.BooleanPreCutResult.intersections ( )

the boolean's ordered intersections of both meshes, without the closed contours of two points Returns a pointer to a member variable of class MR::BooleanPreCutResult named intersections. The reference to this object might be preserved as the return value.

Calls MR_BooleanPreCutResult_Get_intersections().

◆ isMeshA()

boolean meshlib.BooleanPreCutResult.isMeshA ( )

whether mesh is mesh A of the boolean Returns a pointer to a member variable of class MR::BooleanPreCutResult named isMeshA. The reference to this object might be preserved as the return value.

Calls MR_BooleanPreCutResult_Get_isMeshA().

◆ mesh()

meshlib.Mesh meshlib.BooleanPreCutResult.mesh ( )

Returns a pointer to a member variable of class MR::BooleanPreCutResult named mesh. The reference to this object might be preserved as the return value.

Calls MR_BooleanPreCutResult_Get_mesh().

◆ meshAVertsNum()

long meshlib.BooleanPreCutResult.meshAVertsNum ( )

the number of vertices of mesh A before any cut Returns a pointer to a member variable of class MR::BooleanPreCutResult named meshAVertsNum. The reference to this object might be preserved as the return value.

Calls MR_BooleanPreCutResult_Get_meshAVertsNum().

◆ rigidB2A()

meshlib.std_optional_MR_AffineXf3f meshlib.BooleanPreCutResult.rigidB2A ( )

a copy of the boolean's transformation from mesh B to mesh A Returns a pointer to a member variable of class MR::BooleanPreCutResult named rigidB2A. The reference to this object might be preserved as the return value.

Calls MR_BooleanPreCutResult_Get_rigidB2A().

◆ setContours()

void meshlib.BooleanPreCutResult.setContours ( meshlib.OneMeshContours value)

Modifies a member variable of class MR::BooleanPreCutResult named contours. The reference to the parameter value might be preserved in this object in element contours.

Calls MR_BooleanPreCutResult_Set_contours().

◆ setIntersections()

void meshlib.BooleanPreCutResult.setIntersections ( meshlib.Vector_MR_Vector_MR_VarEdgeTri value)

the boolean's ordered intersections of both meshes, without the closed contours of two points Modifies a member variable of class MR::BooleanPreCutResult named intersections. The reference to the parameter value might be preserved in this object in element intersections.

Calls MR_BooleanPreCutResult_Set_intersections().

◆ setIsMeshA()

void meshlib.BooleanPreCutResult.setIsMeshA ( boolean value)

whether mesh is mesh A of the boolean Modifies a member variable of class MR::BooleanPreCutResult named isMeshA.

Calls MR_BooleanPreCutResult_Set_isMeshA().

◆ setMesh()

void meshlib.BooleanPreCutResult.setMesh ( meshlib.Mesh value)

Modifies a member variable of class MR::BooleanPreCutResult named mesh. The reference to the parameter value might be preserved in this object in element mesh.

Calls MR_BooleanPreCutResult_Set_mesh().

◆ setMeshAVertsNum()

void meshlib.BooleanPreCutResult.setMeshAVertsNum ( long value)

the number of vertices of mesh A before any cut Modifies a member variable of class MR::BooleanPreCutResult named meshAVertsNum. The reference to the parameter value might be preserved in this object in element meshAVertsNum.

Calls MR_BooleanPreCutResult_Set_meshAVertsNum().

◆ setRigidB2A()

void meshlib.BooleanPreCutResult.setRigidB2A ( meshlib.AffineXf3f value)

a copy of the boolean's transformation from mesh B to mesh A Modifies a member variable of class MR::BooleanPreCutResult named rigidB2A. The reference to the parameter value might be preserved in this object in element rigidB2A.

Calls MR_BooleanPreCutResult_Set_rigidB2A().

◆ setToInt()

void meshlib.BooleanPreCutResult.setToInt ( meshlib.ConvertToIntVector value)

the boolean's conversion of the coordinates of both meshes to integers Modifies a member variable of class MR::BooleanPreCutResult named toInt. The reference to the parameter value might be preserved in this object in element toInt.

Calls MR_BooleanPreCutResult_Set_toInt().

◆ sortData()

meshlib.SortIntersectionsData meshlib.BooleanPreCutResult.sortData ( meshlib.Mesh otherMesh)

the data to pass cutMesh( mesh, contours ) in CutMeshParameters.sortData for the boolean's exact cut, where otherMesh is the other mesh of the boolean as it was passed to it; the result points into this struct and otherMesh, so both must outlive its use Generated from method MR::BooleanPreCutResult::sortData.

Calls MR_BooleanPreCutResult_sortData().

◆ toInt()

meshlib.ConvertToIntVector meshlib.BooleanPreCutResult.toInt ( )

the boolean's conversion of the coordinates of both meshes to integers Returns a pointer to a member variable of class MR::BooleanPreCutResult named toInt. The reference to this object might be preserved as the return value.

Calls MR_BooleanPreCutResult_Get_toInt().


The documentation for this class was generated from the following file: