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

Public Member Functions

 Polyline2ProjectionWithOffsetResult (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 Polyline2ProjectionWithOffsetResult ()
 Polyline2ProjectionWithOffsetResult (meshlib.UndirectedEdgeId line, meshlib.Vector2f point, float dist)
 Polyline2ProjectionWithOffsetResult (meshlib.Polyline2ProjectionWithOffsetResult _other)
meshlib.Polyline2ProjectionWithOffsetResult assignFromAnother (meshlib.Polyline2ProjectionWithOffsetResult _other)
meshlib.UndirectedEdgeId line ()
void setLine (meshlib.UndirectedEdgeId value)
meshlib.Vector2f point ()
void setPoint (meshlib.Vector2f value)
float dist ()
void setDist (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::Polyline2ProjectionWithOffsetResult.

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

Constructor & Destructor Documentation

◆ Polyline2ProjectionWithOffsetResult() [1/4]

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

◆ Polyline2ProjectionWithOffsetResult() [2/4]

meshlib.Polyline2ProjectionWithOffsetResult.Polyline2ProjectionWithOffsetResult ( )

Constructs an empty (default-constructed) instance.

Calls MR_Polyline2ProjectionWithOffsetResult_DefaultConstruct().

◆ Polyline2ProjectionWithOffsetResult() [3/4]

meshlib.Polyline2ProjectionWithOffsetResult.Polyline2ProjectionWithOffsetResult ( meshlib.UndirectedEdgeId line,
meshlib.Vector2f point,
float dist )

Constructs MR::Polyline2ProjectionWithOffsetResult 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_Polyline2ProjectionWithOffsetResult_ConstructFrom().

◆ Polyline2ProjectionWithOffsetResult() [4/4]

meshlib.Polyline2ProjectionWithOffsetResult.Polyline2ProjectionWithOffsetResult ( meshlib.Polyline2ProjectionWithOffsetResult _other)

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

Calls MR_Polyline2ProjectionWithOffsetResult_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.Polyline2ProjectionWithOffsetResult meshlib.Polyline2ProjectionWithOffsetResult.assignFromAnother ( meshlib.Polyline2ProjectionWithOffsetResult _other)

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

Calls MR_Polyline2ProjectionWithOffsetResult_AssignFromAnother().

◆ dist()

float meshlib.Polyline2ProjectionWithOffsetResult.dist ( )

distance from offset point to proj Returns a pointer to a member variable of class MR::Polyline2ProjectionWithOffsetResult named dist. The reference to this object might be preserved as the return value.

Calls MR_Polyline2ProjectionWithOffsetResult_Get_dist().

◆ line()

meshlib.UndirectedEdgeId meshlib.Polyline2ProjectionWithOffsetResult.line ( )

closest line id on polyline Returns a pointer to a member variable of class MR::Polyline2ProjectionWithOffsetResult named line. The reference to this object might be preserved as the return value.

Calls MR_Polyline2ProjectionWithOffsetResult_Get_line().

◆ point()

meshlib.Vector2f meshlib.Polyline2ProjectionWithOffsetResult.point ( )

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

Calls MR_Polyline2ProjectionWithOffsetResult_Get_point().

◆ setDist()

void meshlib.Polyline2ProjectionWithOffsetResult.setDist ( float value)

distance from offset point to proj Modifies a member variable of class MR::Polyline2ProjectionWithOffsetResult named dist.

Calls MR_Polyline2ProjectionWithOffsetResult_Set_dist().

◆ setLine()

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

closest line id on polyline Modifies a member variable of class MR::Polyline2ProjectionWithOffsetResult named line. The reference to the parameter value might be preserved in this object in element line.

Calls MR_Polyline2ProjectionWithOffsetResult_Set_line().

◆ setPoint()

void meshlib.Polyline2ProjectionWithOffsetResult.setPoint ( meshlib.Vector2f value)

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

Calls MR_Polyline2ProjectionWithOffsetResult_Set_point().


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