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

Public Member Functions

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

Static Public Member Functions

static meshlib.PolylineProjectionResult3Arg staticDowncastFromPolylineProjectionResult3 (meshlib.PolylineProjectionResult3 object)

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::PolylineProjectionResult3Arg. Base classes: Direct: (non-virtual) MR::PolylineProjectionResult3

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

Constructor & Destructor Documentation

◆ PolylineProjectionResult3Arg() [1/3]

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

◆ PolylineProjectionResult3Arg() [2/3]

meshlib.PolylineProjectionResult3Arg.PolylineProjectionResult3Arg ( )

Constructs an empty (default-constructed) instance.

Calls MR_PolylineProjectionResult3Arg_DefaultConstruct().

◆ PolylineProjectionResult3Arg() [3/3]

meshlib.PolylineProjectionResult3Arg.PolylineProjectionResult3Arg ( meshlib.PolylineProjectionResult3Arg _other)

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

Calls MR_PolylineProjectionResult3Arg_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.PolylineProjectionResult3Arg meshlib.PolylineProjectionResult3Arg.assignFromAnother ( meshlib.PolylineProjectionResult3Arg _other)

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

Calls MR_PolylineProjectionResult3Arg_AssignFromAnother().

◆ convertTo_bool()

boolean meshlib.PolylineProjectionResult3Arg.convertTo_bool ( )

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

Calls MR_PolylineProjectionResult3Arg_ConvertTo_bool().

◆ distSq()

float meshlib.PolylineProjectionResult3Arg.distSq ( )

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

Calls MR_PolylineProjectionResult3Arg_Get_distSq().

◆ line()

meshlib.UndirectedEdgeId meshlib.PolylineProjectionResult3Arg.line ( )

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

Calls MR_PolylineProjectionResult3Arg_Get_line().

◆ point()

meshlib.Vector3f meshlib.PolylineProjectionResult3Arg.point ( )

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

Calls MR_PolylineProjectionResult3Arg_Get_point().

◆ pointId()

meshlib.VertId meshlib.PolylineProjectionResult3Arg.pointId ( )

id of source point from which closest point was searched Returns a pointer to a member variable of class MR::PolylineProjectionResult3Arg named pointId. The reference to this object might be preserved as the return value.

Calls MR_PolylineProjectionResult3Arg_Get_pointId().

◆ setDistSq()

void meshlib.PolylineProjectionResult3Arg.setDistSq ( float value)

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

Calls MR_PolylineProjectionResult3Arg_Set_distSq().

◆ setLine()

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

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

Calls MR_PolylineProjectionResult3Arg_Set_line().

◆ setPoint()

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

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

Calls MR_PolylineProjectionResult3Arg_Set_point().

◆ setPointId()

void meshlib.PolylineProjectionResult3Arg.setPointId ( meshlib.VertId value)

id of source point from which closest point was searched Modifies a member variable of class MR::PolylineProjectionResult3Arg named pointId. The reference to the parameter value might be preserved in this object in element pointId.

Calls MR_PolylineProjectionResult3Arg_Set_pointId().

◆ staticDowncastFromPolylineProjectionResult3()

meshlib.PolylineProjectionResult3Arg meshlib.PolylineProjectionResult3Arg.staticDowncastFromPolylineProjectionResult3 ( meshlib.PolylineProjectionResult3 object)
static

Static downcast from the base class MR::PolylineProjectionResult3. Undefined behavior if the object isn't actually a PolylineProjectionResult3Arg. The result refers to object.

Calls MR_PolylineProjectionResult3Arg_MutableStaticDowncastFrom_MR_PolylineProjectionResult3().

◆ upcastToPolylineProjectionResult3()

meshlib.PolylineProjectionResult3 meshlib.PolylineProjectionResult3Arg.upcastToPolylineProjectionResult3 ( )

Upcasts to the base class MR::PolylineProjectionResult3. The result refers to this object.

Calls MR_PolylineProjectionResult3Arg_MutableUpcastTo_MR_PolylineProjectionResult3().

◆ valid()

boolean meshlib.PolylineProjectionResult3Arg.valid ( )

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

Calls MR_PolylineProjectionResult3Arg_valid().


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