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

Public Member Functions

 GeodesicPath (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 GeodesicPath ()
 GeodesicPath (meshlib.MeshTriPoint start, meshlib.std_vector_MR_EdgePoint mids, meshlib.MeshTriPoint end)
 GeodesicPath (meshlib.GeodesicPath _other)
meshlib.GeodesicPath assignFromAnother (meshlib.GeodesicPath _other)
long numVertices ()
meshlib.MeshTriPoint index (long i)
meshlib.MeshTriPoint start ()
void setStart (meshlib.MeshTriPoint value)
meshlib.std_vector_MR_EdgePoint mids ()
void setMids (meshlib.std_vector_MR_EdgePoint value)
meshlib.MeshTriPoint end ()
void setEnd (meshlib.MeshTriPoint 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

in the most general form, geodesic path can start in any mesh location (MeshTriPoint), then pass triangles along straight lines, making turns on edges (MeshEdgePoint), and finish in any mesh location (MeshTriPoint) Generated from class MR::GeodesicPath.

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

Constructor & Destructor Documentation

◆ GeodesicPath() [1/4]

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

◆ GeodesicPath() [2/4]

meshlib.GeodesicPath.GeodesicPath ( )

Constructs an empty (default-constructed) instance.

Calls MR_GeodesicPath_DefaultConstruct().

◆ GeodesicPath() [3/4]

meshlib.GeodesicPath.GeodesicPath ( meshlib.MeshTriPoint start,
meshlib.std_vector_MR_EdgePoint mids,
meshlib.MeshTriPoint end )

Constructs MR::GeodesicPath elementwise. The reference to the parameter start might be preserved in the constructed object. The reference to the parameter mids might be preserved in the constructed object. The reference to the parameter end might be preserved in the constructed object.

Calls MR_GeodesicPath_ConstructFrom().

◆ GeodesicPath() [4/4]

meshlib.GeodesicPath.GeodesicPath ( meshlib.GeodesicPath _other)

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

Calls MR_GeodesicPath_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.GeodesicPath meshlib.GeodesicPath.assignFromAnother ( meshlib.GeodesicPath _other)

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

Calls MR_GeodesicPath_AssignFromAnother().

◆ end()

meshlib.MeshTriPoint meshlib.GeodesicPath.end ( )

< can be invalid, then the path ends in mids.back() Returns a pointer to a member variable of class MR::GeodesicPath named end. The reference to this object might be preserved as the return value.

Calls MR_GeodesicPath_Get_end().

◆ index()

meshlib.MeshTriPoint meshlib.GeodesicPath.index ( long i)

Generated from method MR::GeodesicPath::operator[].

Calls MR_GeodesicPath_index().

◆ mids()

meshlib.std_vector_MR_EdgePoint meshlib.GeodesicPath.mids ( )

Returns a pointer to a member variable of class MR::GeodesicPath named mids. The reference to this object might be preserved as the return value.

Calls MR_GeodesicPath_Get_mids().

◆ numVertices()

long meshlib.GeodesicPath.numVertices ( )

Generated from method MR::GeodesicPath::numVertices.

Calls MR_GeodesicPath_numVertices().

◆ setEnd()

void meshlib.GeodesicPath.setEnd ( meshlib.MeshTriPoint value)

< can be invalid, then the path ends in mids.back() Modifies a member variable of class MR::GeodesicPath named end. The reference to the parameter value might be preserved in this object in element end.

Calls MR_GeodesicPath_Set_end().

◆ setMids()

void meshlib.GeodesicPath.setMids ( meshlib.std_vector_MR_EdgePoint value)

Modifies a member variable of class MR::GeodesicPath named mids. The reference to the parameter value might be preserved in this object in element mids.

Calls MR_GeodesicPath_Set_mids().

◆ setStart()

void meshlib.GeodesicPath.setStart ( meshlib.MeshTriPoint value)

< can be invalid, then the path starts in mids.front() Modifies a member variable of class MR::GeodesicPath named start. The reference to the parameter value might be preserved in this object in element start.

Calls MR_GeodesicPath_Set_start().

◆ start()

meshlib.MeshTriPoint meshlib.GeodesicPath.start ( )

< can be invalid, then the path starts in mids.front() Returns a pointer to a member variable of class MR::GeodesicPath named start. The reference to this object might be preserved as the return value.

Calls MR_GeodesicPath_Get_start().


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