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

Public Member Functions

 PolylineIntersectionResult2 (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 PolylineIntersectionResult2 ()
 PolylineIntersectionResult2 (meshlib.EdgePoint edgePoint, float distanceAlongLine)
 PolylineIntersectionResult2 (meshlib.PolylineIntersectionResult2 _other)
meshlib.PolylineIntersectionResult2 assignFromAnother (meshlib.PolylineIntersectionResult2 _other)
meshlib.EdgePoint edgePoint ()
void setEdgePoint (meshlib.EdgePoint value)
float distanceAlongLine ()
void setDistanceAlongLine (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::PolylineIntersectionResult2.

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

Constructor & Destructor Documentation

◆ PolylineIntersectionResult2() [1/4]

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

◆ PolylineIntersectionResult2() [2/4]

meshlib.PolylineIntersectionResult2.PolylineIntersectionResult2 ( )

Constructs an empty (default-constructed) instance.

Calls MR_PolylineIntersectionResult2_DefaultConstruct().

◆ PolylineIntersectionResult2() [3/4]

meshlib.PolylineIntersectionResult2.PolylineIntersectionResult2 ( meshlib.EdgePoint edgePoint,
float distanceAlongLine )

Constructs MR::PolylineIntersectionResult2 elementwise. The reference to the parameter edgePoint might be preserved in the constructed object.

Calls MR_PolylineIntersectionResult2_ConstructFrom().

◆ PolylineIntersectionResult2() [4/4]

meshlib.PolylineIntersectionResult2.PolylineIntersectionResult2 ( meshlib.PolylineIntersectionResult2 _other)

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

Calls MR_PolylineIntersectionResult2_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.PolylineIntersectionResult2 meshlib.PolylineIntersectionResult2.assignFromAnother ( meshlib.PolylineIntersectionResult2 _other)

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

Calls MR_PolylineIntersectionResult2_AssignFromAnother().

◆ distanceAlongLine()

float meshlib.PolylineIntersectionResult2.distanceAlongLine ( )

stores the distance from ray origin to the intersection point in direction units Returns a pointer to a member variable of class MR::PolylineIntersectionResult2 named distanceAlongLine. The reference to this object might be preserved as the return value.

Calls MR_PolylineIntersectionResult2_Get_distanceAlongLine().

◆ edgePoint()

meshlib.EdgePoint meshlib.PolylineIntersectionResult2.edgePoint ( )

intersection point in polyline Returns a pointer to a member variable of class MR::PolylineIntersectionResult2 named edgePoint. The reference to this object might be preserved as the return value.

Calls MR_PolylineIntersectionResult2_Get_edgePoint().

◆ setDistanceAlongLine()

void meshlib.PolylineIntersectionResult2.setDistanceAlongLine ( float value)

stores the distance from ray origin to the intersection point in direction units Modifies a member variable of class MR::PolylineIntersectionResult2 named distanceAlongLine.

Calls MR_PolylineIntersectionResult2_Set_distanceAlongLine().

◆ setEdgePoint()

void meshlib.PolylineIntersectionResult2.setEdgePoint ( meshlib.EdgePoint value)

intersection point in polyline Modifies a member variable of class MR::PolylineIntersectionResult2 named edgePoint. The reference to the parameter value might be preserved in this object in element edgePoint.

Calls MR_PolylineIntersectionResult2_Set_edgePoint().


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