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

Public Member Functions

 PolylineProjectionResult3 (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 PolylineProjectionResult3 ()
 PolylineProjectionResult3 (meshlib.UndirectedEdgeId line, meshlib.Vector3f point, float distSq)
 PolylineProjectionResult3 (meshlib.PolylineProjectionResult3 _other)
boolean convertTo_bool ()
meshlib.PolylineProjectionResult3 assignFromAnother (meshlib.PolylineProjectionResult3 _other)
boolean valid ()
meshlib.UndirectedEdgeId line ()
void setLine (meshlib.UndirectedEdgeId value)
meshlib.Vector3f point ()
void setPoint (meshlib.Vector3f value)
float distSq ()
void setDistSq (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

Generated from class MR::PolylineProjectionResult3. Derived classes: Direct: (non-virtual) MR::PolylineProjectionResult3Arg

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

Constructor & Destructor Documentation

◆ PolylineProjectionResult3() [1/4]

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

◆ PolylineProjectionResult3() [2/4]

meshlib.PolylineProjectionResult3.PolylineProjectionResult3 ( )

Constructs an empty (default-constructed) instance.

Calls MR_PolylineProjectionResult3_DefaultConstruct().

◆ PolylineProjectionResult3() [3/4]

meshlib.PolylineProjectionResult3.PolylineProjectionResult3 ( meshlib.UndirectedEdgeId line,
meshlib.Vector3f point,
float distSq )

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

Calls MR_PolylineProjectionResult3_ConstructFrom().

◆ PolylineProjectionResult3() [4/4]

meshlib.PolylineProjectionResult3.PolylineProjectionResult3 ( meshlib.PolylineProjectionResult3 _other)

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

Calls MR_PolylineProjectionResult3_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.PolylineProjectionResult3 meshlib.PolylineProjectionResult3.assignFromAnother ( meshlib.PolylineProjectionResult3 _other)

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

Calls MR_PolylineProjectionResult3_AssignFromAnother().

◆ convertTo_bool()

boolean meshlib.PolylineProjectionResult3.convertTo_bool ( )

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

Calls MR_PolylineProjectionResult3_ConvertTo_bool().

◆ distSq()

float meshlib.PolylineProjectionResult3.distSq ( )

squared distance from pt to proj Returns a pointer to a member variable of class MR::PolylineProjectionResult3 named distSq. The reference to this object might be preserved as the return value.

Calls MR_PolylineProjectionResult3_Get_distSq().

◆ line()

meshlib.UndirectedEdgeId meshlib.PolylineProjectionResult3.line ( )

polyline's edge containing the closest point Returns a pointer to a member variable of class MR::PolylineProjectionResult3 named line. The reference to this object might be preserved as the return value.

Calls MR_PolylineProjectionResult3_Get_line().

◆ point()

meshlib.Vector3f meshlib.PolylineProjectionResult3.point ( )

closest point on polyline, transformed by xf if it is given Returns a pointer to a member variable of class MR::PolylineProjectionResult3 named point. The reference to this object might be preserved as the return value.

Calls MR_PolylineProjectionResult3_Get_point().

◆ setDistSq()

void meshlib.PolylineProjectionResult3.setDistSq ( float value)

squared distance from pt to proj Modifies a member variable of class MR::PolylineProjectionResult3 named distSq.

Calls MR_PolylineProjectionResult3_Set_distSq().

◆ setLine()

void meshlib.PolylineProjectionResult3.setLine ( meshlib.UndirectedEdgeId value)

polyline's edge containing the closest point Modifies a member variable of class MR::PolylineProjectionResult3 named line. The reference to the parameter value might be preserved in this object in element line.

Calls MR_PolylineProjectionResult3_Set_line().

◆ setPoint()

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

closest point on polyline, transformed by xf if it is given Modifies a member variable of class MR::PolylineProjectionResult3 named point. The reference to the parameter value might be preserved in this object in element point.

Calls MR_PolylineProjectionResult3_Set_point().

◆ valid()

boolean meshlib.PolylineProjectionResult3.valid ( )

check for validity, otherwise the projection was not found Generated from method MR::PolylineProjectionResult3::valid.

Calls MR_PolylineProjectionResult3_valid().


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