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

Public Member Functions

 PointOnFace (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 PointOnFace ()
 PointOnFace (meshlib.FaceId face, meshlib.Vector3f point)
 PointOnFace (meshlib.PointOnFace _other)
boolean convertTo_bool ()
meshlib.PointOnFace assignFromAnother (meshlib.PointOnFace _other)
boolean valid ()
meshlib.FaceId face ()
void setFace (meshlib.FaceId value)
meshlib.Vector3f point ()
void setPoint (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

a point located on some mesh's face Generated from class MR::PointOnFace.

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

Constructor & Destructor Documentation

◆ PointOnFace() [1/4]

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

◆ PointOnFace() [2/4]

meshlib.PointOnFace.PointOnFace ( )

Constructs an empty (default-constructed) instance.

Calls MR_PointOnFace_DefaultConstruct().

◆ PointOnFace() [3/4]

meshlib.PointOnFace.PointOnFace ( meshlib.FaceId face,
meshlib.Vector3f point )

Constructs MR::PointOnFace elementwise. The reference to the parameter face might be preserved in the constructed object. The reference to the parameter point might be preserved in the constructed object.

Calls MR_PointOnFace_ConstructFrom().

◆ PointOnFace() [4/4]

meshlib.PointOnFace.PointOnFace ( meshlib.PointOnFace _other)

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

Calls MR_PointOnFace_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.PointOnFace meshlib.PointOnFace.assignFromAnother ( meshlib.PointOnFace _other)

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

Calls MR_PointOnFace_AssignFromAnother().

◆ convertTo_bool()

boolean meshlib.PointOnFace.convertTo_bool ( )

Generated from conversion operator MR::PointOnFace::operator bool.

Calls MR_PointOnFace_ConvertTo_bool().

◆ face()

meshlib.FaceId meshlib.PointOnFace.face ( )

mesh's face containing the point Returns a pointer to a member variable of class MR::PointOnFace named face. The reference to this object might be preserved as the return value.

Calls MR_PointOnFace_Get_face().

◆ point()

meshlib.Vector3f meshlib.PointOnFace.point ( )

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

Calls MR_PointOnFace_Get_point().

◆ setFace()

void meshlib.PointOnFace.setFace ( meshlib.FaceId value)

mesh's face containing the point Modifies a member variable of class MR::PointOnFace named face. The reference to the parameter value might be preserved in this object in element face.

Calls MR_PointOnFace_Set_face().

◆ setPoint()

void meshlib.PointOnFace.setPoint ( meshlib.Vector3f value)

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

Calls MR_PointOnFace_Set_point().

◆ valid()

boolean meshlib.PointOnFace.valid ( )

check for validity, otherwise the point is not defined Generated from method MR::PointOnFace::valid.

Calls MR_PointOnFace_valid().


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