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

Public Member Functions

 MeshPoint (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 MeshPoint ()
 MeshPoint (meshlib.MeshTriPoint triPoint, meshlib.Vector3f pt, meshlib.Vector3f inDir, meshlib.std_function_bool_from_MR_FaceId notIncidentFaces)
 MeshPoint (meshlib.MeshPoint _other)
meshlib.MeshPoint assignFromAnother (meshlib.MeshPoint _other)
void set (meshlib.Mesh mesh, meshlib.MeshTriPoint p)
meshlib.MeshTriPoint triPoint ()
void setTriPoint (meshlib.MeshTriPoint value)
meshlib.Vector3f pt ()
void setPt (meshlib.Vector3f value)
meshlib.Vector3f inDir ()
void setInDir (meshlib.Vector3f value)
meshlib.std_function_bool_from_MR_FaceId notIncidentFaces ()
void setNotIncidentFaces (meshlib.std_function_bool_from_MR_FaceId 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

describes the point of measurement on mesh Generated from class MR::MeshPoint.

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

Constructor & Destructor Documentation

◆ MeshPoint() [1/4]

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

◆ MeshPoint() [2/4]

meshlib.MeshPoint.MeshPoint ( )

Constructs an empty (default-constructed) instance.

Calls MR_MeshPoint_DefaultConstruct().

◆ MeshPoint() [3/4]

meshlib.MeshPoint.MeshPoint ( meshlib.MeshTriPoint triPoint,
meshlib.Vector3f pt,
meshlib.Vector3f inDir,
meshlib.std_function_bool_from_MR_FaceId notIncidentFaces )

Constructs MR::MeshPoint elementwise. The reference to the parameter triPoint might be preserved in the constructed object. The reference to the parameter pt might be preserved in the constructed object. The reference to the parameter inDir might be preserved in the constructed object. The reference to the parameter notIncidentFaces might be preserved in the constructed object.

Calls MR_MeshPoint_ConstructFrom().

◆ MeshPoint() [4/4]

meshlib.MeshPoint.MeshPoint ( meshlib.MeshPoint _other)

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

Calls MR_MeshPoint_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.MeshPoint meshlib.MeshPoint.assignFromAnother ( meshlib.MeshPoint _other)

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

Calls MR_MeshPoint_AssignFromAnother().

◆ inDir()

meshlib.Vector3f meshlib.MeshPoint.inDir ( )

< unit direction inside the mesh = minus normal Returns a pointer to a member variable of class MR::MeshPoint named inDir. The reference to this object might be preserved as the return value.

Calls MR_MeshPoint_Get_inDir().

◆ notIncidentFaces()

meshlib.std_function_bool_from_MR_FaceId meshlib.MeshPoint.notIncidentFaces ( )

< predicate that returns true for mesh faces not-incident to the point Returns a pointer to a member variable of class MR::MeshPoint named notIncidentFaces. The reference to this object might be preserved as the return value.

Calls MR_MeshPoint_Get_notIncidentFaces().

◆ pt()

meshlib.Vector3f meshlib.MeshPoint.pt ( )

< 3d coordinates Returns a pointer to a member variable of class MR::MeshPoint named pt. The reference to this object might be preserved as the return value.

Calls MR_MeshPoint_Get_pt().

◆ set()

void meshlib.MeshPoint.set ( meshlib.Mesh mesh,
meshlib.MeshTriPoint p )

Generated from method MR::MeshPoint::set.

Calls MR_MeshPoint_set().

◆ setInDir()

void meshlib.MeshPoint.setInDir ( meshlib.Vector3f value)

< unit direction inside the mesh = minus normal Modifies a member variable of class MR::MeshPoint named inDir. The reference to the parameter value might be preserved in this object in element inDir.

Calls MR_MeshPoint_Set_inDir().

◆ setNotIncidentFaces()

void meshlib.MeshPoint.setNotIncidentFaces ( meshlib.std_function_bool_from_MR_FaceId value)

< predicate that returns true for mesh faces not-incident to the point Modifies a member variable of class MR::MeshPoint named notIncidentFaces. The reference to the parameter value might be preserved in this object in element notIncidentFaces.

Calls MR_MeshPoint_Set_notIncidentFaces().

◆ setPt()

void meshlib.MeshPoint.setPt ( meshlib.Vector3f value)

< 3d coordinates Modifies a member variable of class MR::MeshPoint named pt. The reference to the parameter value might be preserved in this object in element pt.

Calls MR_MeshPoint_Set_pt().

◆ setTriPoint()

void meshlib.MeshPoint.setTriPoint ( meshlib.MeshTriPoint value)

< relative position on mesh Modifies a member variable of class MR::MeshPoint named triPoint. The reference to the parameter value might be preserved in this object in element triPoint.

Calls MR_MeshPoint_Set_triPoint().

◆ triPoint()

meshlib.MeshTriPoint meshlib.MeshPoint.triPoint ( )

< relative position on mesh Returns a pointer to a member variable of class MR::MeshPoint named triPoint. The reference to this object might be preserved as the return value.

Calls MR_MeshPoint_Get_triPoint().


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