# class geode::SurfaceSegmentFinder2D

## Overview

The objective of this class is to find paths inside TrianguledSurface2D. Moreā¦

#include <surface_segment_finder2d.h> class SurfaceSegmentFinder2D: public geode::SurfaceSegmentFinder { public: // construction SurfaceSegmentFinder2D( const TriangulatedSurface2D& surface, index_t begin, index_t end ); // methods std::vector<SurfacePath> find_path() const; };

## Detailed Documentation

The objective of this class is to find paths inside TrianguledSurface2D. As an example, this class is able to find a rectilinear path between two vertices. This class may be derived for custom path findings.

### Methods

std::vector<SurfacePath> find_path() const

Find a rectilinear path between two vertices.

Parameters:

begin |
Index of the cut starting vertex |

end |
Index of the cut ending vertex |

Returns:

an ordered list of path locations between begin and end.