MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ConstGeodesicPath Class Reference
Inheritance diagram for mrmeshpy.ConstGeodesicPath:

Public Member Functions

MeshTriPoint __getitem__ (self, int i)
 __init__ (self, *args, **kwargs)
int numVertices (self)
ConstMeshTriPoint end (self)
Const_std_vector_EdgePointT_float mids (self)
ConstMeshTriPoint start (self)

Static Protected Attributes

typing _offsetof_end = 40
typing _offsetof_mids = 16
typing _offsetof_start = 0

Detailed Description

Generated from:  MR::GeodesicPath

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)

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.ConstGeodesicPath.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstGeodesicPath) -> None

2. __init__(self: meshlib.mrmeshpy.ConstGeodesicPath, arg0: meshlib.mrmeshpy.ConstGeodesicPath) -> None

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstGeodesicPath, start: meshlib.mrmeshpy.ConstMeshTriPoint, mids: meshlib.mrmeshpy.Const_std_vector_EdgePointT_float, end: meshlib.mrmeshpy.ConstMeshTriPoint) -> None

Implicit aggregate constructor.

4. __init__(self: meshlib.mrmeshpy.ConstGeodesicPath, : meshlib.mrmeshpy.ConstGeodesicPath) -> None

Member Function Documentation

◆ __getitem__()

MeshTriPoint mrmeshpy.ConstGeodesicPath.__getitem__ ( self,
int i )

◆ end()

ConstMeshTriPoint mrmeshpy.ConstGeodesicPath.end ( self)
can be invalid, then the path ends in mids.back()

Reimplemented in mrmeshpy.GeodesicPath, and mrmeshpy.GeodesicPath.

◆ mids()

Const_std_vector_EdgePointT_float mrmeshpy.ConstGeodesicPath.mids ( self)

◆ numVertices()

int mrmeshpy.ConstGeodesicPath.numVertices ( self)

◆ start()

ConstMeshTriPoint mrmeshpy.ConstGeodesicPath.start ( self)
can be invalid, then the path starts in mids.front()

Reimplemented in mrmeshpy.GeodesicPath, and mrmeshpy.GeodesicPath.

Member Data Documentation

◆ _offsetof_end

typing mrmeshpy.ConstGeodesicPath._offsetof_end = 40
staticprotected

◆ _offsetof_mids

typing mrmeshpy.ConstGeodesicPath._offsetof_mids = 16
staticprotected

◆ _offsetof_start

typing mrmeshpy.ConstGeodesicPath._offsetof_start = 0
staticprotected

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