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

Public Member Functions

 PointOnObject (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 PointOnObject ()
 PointOnObject (meshlib.PointOnObject _other)
meshlib.PointOnFace convertTo_MR_PointOnFace ()
meshlib.PointOnObject assignFromAnother (meshlib.PointOnObject _other)
meshlib.Vector3f point ()
void setPoint (meshlib.Vector3f value)
float zBuffer ()
void setZBuffer (float 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

point located on either

  1. face of ObjectMesh
  2. line of ObjectLines
  3. point of ObjectPoints Generated from class MR::PointOnObject.

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

Constructor & Destructor Documentation

◆ PointOnObject() [1/3]

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

◆ PointOnObject() [2/3]

meshlib.PointOnObject.PointOnObject ( )

Constructs an empty (default-constructed) instance.

Calls MR_PointOnObject_DefaultConstruct().

◆ PointOnObject() [3/3]

meshlib.PointOnObject.PointOnObject ( meshlib.PointOnObject _other)

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

Calls MR_PointOnObject_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.PointOnObject meshlib.PointOnObject.assignFromAnother ( meshlib.PointOnObject _other)

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

Calls MR_PointOnObject_AssignFromAnother().

◆ convertTo_MR_PointOnFace()

meshlib.PointOnFace meshlib.PointOnObject.convertTo_MR_PointOnFace ( )

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

Calls MR_PointOnObject_ConvertTo_MR_PointOnFace().

◆ point()

meshlib.Vector3f meshlib.PointOnObject.point ( )

3D location on the object in local coordinates Returns a pointer to a member variable of class MR::PointOnObject named point. The reference to this object might be preserved as the return value.

Calls MR_PointOnObject_Get_point().

◆ setPoint()

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

3D location on the object in local coordinates Modifies a member variable of class MR::PointOnObject named point. The reference to the parameter value might be preserved in this object in element point.

Calls MR_PointOnObject_Set_point().

◆ setZBuffer()

void meshlib.PointOnObject.setZBuffer ( float value)

z buffer value Modifies a member variable of class MR::PointOnObject named zBuffer.

Calls MR_PointOnObject_Set_zBuffer().

◆ zBuffer()

float meshlib.PointOnObject.zBuffer ( )

z buffer value Returns a pointer to a member variable of class MR::PointOnObject named zBuffer. The reference to this object might be preserved as the return value.

Calls MR_PointOnObject_Get_zBuffer().


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