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

Public Member Functions

 OneMeshIntersection (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 OneMeshIntersection ()
 OneMeshIntersection (meshlib.OneMeshIntersection _other)
 OneMeshIntersection (meshlib.NoInit _1)
 OneMeshIntersection (meshlib.FaceId f, meshlib.Vector3f p)
 OneMeshIntersection (meshlib.EdgeId e, meshlib.Vector3f p)
 OneMeshIntersection (meshlib.VertId v, meshlib.Vector3f p)
meshlib.OneMeshIntersection assignFromAnother (meshlib.OneMeshIntersection _other)
meshlib.OneMeshIntersection_Primitive primitive ()
boolean isFace ()
boolean isEdge ()
boolean isVert ()
meshlib.FaceId face ()
meshlib.EdgeId edge ()
meshlib.VertId vert ()
void setPrimitive (meshlib.FaceId f)
void setPrimitive (meshlib.EdgeId e)
void setPrimitive (meshlib.VertId v)
boolean samePrimitive (meshlib.OneMeshIntersection other)
meshlib.Vector3f coordinate ()
void setCoordinate (meshlib.Vector3f 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

Simple point on mesh, represented by primitive id and coordinate in mesh space Generated from class MR::OneMeshIntersection.

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

Constructor & Destructor Documentation

◆ OneMeshIntersection() [1/7]

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

◆ OneMeshIntersection() [2/7]

meshlib.OneMeshIntersection.OneMeshIntersection ( )

Constructs an empty (default-constructed) instance.

Calls MR_OneMeshIntersection_DefaultConstruct().

◆ OneMeshIntersection() [3/7]

meshlib.OneMeshIntersection.OneMeshIntersection ( meshlib.OneMeshIntersection _other)

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

Calls MR_OneMeshIntersection_ConstructFromAnother().

◆ OneMeshIntersection() [4/7]

meshlib.OneMeshIntersection.OneMeshIntersection ( meshlib.NoInit _1)

Generated from constructor MR::OneMeshIntersection::OneMeshIntersection. The reference to the parameter _1 might be preserved in the constructed object.

Calls MR_OneMeshIntersection_Construct_1().

◆ OneMeshIntersection() [5/7]

meshlib.OneMeshIntersection.OneMeshIntersection ( meshlib.FaceId f,
meshlib.Vector3f p )

Generated from constructor MR::OneMeshIntersection::OneMeshIntersection. The reference to the parameter f might be preserved in the constructed object. The reference to the parameter p might be preserved in the constructed object.

Calls MR_OneMeshIntersection_Construct_2_MR_FaceId().

◆ OneMeshIntersection() [6/7]

meshlib.OneMeshIntersection.OneMeshIntersection ( meshlib.EdgeId e,
meshlib.Vector3f p )

Generated from constructor MR::OneMeshIntersection::OneMeshIntersection. The reference to the parameter e might be preserved in the constructed object. The reference to the parameter p might be preserved in the constructed object.

Calls MR_OneMeshIntersection_Construct_2_MR_EdgeId().

◆ OneMeshIntersection() [7/7]

meshlib.OneMeshIntersection.OneMeshIntersection ( meshlib.VertId v,
meshlib.Vector3f p )

Generated from constructor MR::OneMeshIntersection::OneMeshIntersection. The reference to the parameter v might be preserved in the constructed object. The reference to the parameter p might be preserved in the constructed object.

Calls MR_OneMeshIntersection_Construct_2_MR_VertId().

Member Function Documentation

◆ assignFromAnother()

meshlib.OneMeshIntersection meshlib.OneMeshIntersection.assignFromAnother ( meshlib.OneMeshIntersection _other)

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

Calls MR_OneMeshIntersection_AssignFromAnother().

◆ coordinate()

meshlib.Vector3f meshlib.OneMeshIntersection.coordinate ( )

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

Calls MR_OneMeshIntersection_Get_coordinate().

◆ edge()

meshlib.EdgeId meshlib.OneMeshIntersection.edge ( )

Generated from method MR::OneMeshIntersection::edge.

Calls MR_OneMeshIntersection_edge().

◆ face()

meshlib.FaceId meshlib.OneMeshIntersection.face ( )

the primitive containing the point if it is of that kind, otherwise invalid id Generated from method MR::OneMeshIntersection::face.

Calls MR_OneMeshIntersection_face().

◆ isEdge()

boolean meshlib.OneMeshIntersection.isEdge ( )

Generated from method MR::OneMeshIntersection::isEdge.

Calls MR_OneMeshIntersection_isEdge().

◆ isFace()

boolean meshlib.OneMeshIntersection.isFace ( )

Generated from method MR::OneMeshIntersection::isFace.

Calls MR_OneMeshIntersection_isFace().

◆ isVert()

boolean meshlib.OneMeshIntersection.isVert ( )

Generated from method MR::OneMeshIntersection::isVert.

Calls MR_OneMeshIntersection_isVert().

◆ primitive()

meshlib.OneMeshIntersection_Primitive meshlib.OneMeshIntersection.primitive ( )

Generated from method MR::OneMeshIntersection::primitive.

Calls MR_OneMeshIntersection_primitive().

◆ samePrimitive()

boolean meshlib.OneMeshIntersection.samePrimitive ( meshlib.OneMeshIntersection other)

whether both points are in the same primitive Generated from method MR::OneMeshIntersection::samePrimitive.

Calls MR_OneMeshIntersection_samePrimitive().

◆ setCoordinate()

void meshlib.OneMeshIntersection.setCoordinate ( meshlib.Vector3f value)

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

Calls MR_OneMeshIntersection_Set_coordinate().

◆ setPrimitive() [1/3]

void meshlib.OneMeshIntersection.setPrimitive ( meshlib.EdgeId e)

Generated from method MR::OneMeshIntersection::setPrimitive.

Calls MR_OneMeshIntersection_setPrimitive_MR_EdgeId().

◆ setPrimitive() [2/3]

void meshlib.OneMeshIntersection.setPrimitive ( meshlib.FaceId f)

Generated from method MR::OneMeshIntersection::setPrimitive.

Calls MR_OneMeshIntersection_setPrimitive_MR_FaceId().

◆ setPrimitive() [3/3]

void meshlib.OneMeshIntersection.setPrimitive ( meshlib.VertId v)

Generated from method MR::OneMeshIntersection::setPrimitive.

Calls MR_OneMeshIntersection_setPrimitive_MR_VertId().

◆ vert()

meshlib.VertId meshlib.OneMeshIntersection.vert ( )

Generated from method MR::OneMeshIntersection::vert.

Calls MR_OneMeshIntersection_vert().


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