|
|
using | Super |
| | Parent class type.
|
| |
|
using | Mesh |
| | The mesh type.
|
| |
|
using | Mesh = SurfaceMesh<Scalar, Index> |
| | The mesh type.
|
| |
|
|
std::unique_ptr< gcManifoldMesh > | m_gc_mesh |
| |
|
std::unique_ptr< gcGeometry > | m_gc_geom |
| |
|
Options | m_options |
| |
|
|
const Mesh & | mesh () const |
| |
|
Mesh & | mesh () |
| |
◆ GeodesicEngineFlip()
Precompute any data required for repeated geodesic path computation.
- Parameters
-
| mesh | Reference to the input mesh. |
| options | Options for the flip geodesic engine. |
◆ single_source_geodesic()
- Note
- Single source geodesic is not supported by this engine. Use GeodesicEngineHeat or GeodesicEngineMMP instead.
- Exceptions
-
Implements GeodesicEngine< Scalar, Index >.
◆ point_to_point_geodesic()
Compute the geodesic distance between two points using the edge-flip method.
- Note
- The source and target points are snapped to the nearest mesh vertex before computing the geodesic. This is a limitation of the flip-based algorithm.
- Parameters
-
| options | The options for the computation. |
- Returns
- The geodesic distance between the source and target points.
Reimplemented from GeodesicEngine< Scalar, Index >.
◆ point_to_point_geodesic_path()
Compute the geodesic path between two points using the edge-flip method.
This function finds a geodesic path by first computing a Dijkstra path between the two closest mesh vertices, then iteratively shortening it via edge flips until the path is locally shortest.
- Note
- The source and target points are snapped to the nearest mesh vertex before computing the geodesic. This is a limitation of the flip-based algorithm.
- Parameters
-
| options | The options for the path computation. |
- Returns
- A GeodesicPathResult containing the ordered path points and segment facet indices. Returns an empty result if no path exists.
Reimplemented from GeodesicEngine< Scalar, Index >.
The documentation for this struct was generated from the following file:
- /home/runner/work/lagrange-docs/lagrange-docs/lagrange_tmp/modules/geodesic/extras/geometrycentral/GeodesicEngineFlip.cpp