xmsgrid  1.0
xms::GmMultiPolyIntersector Class Reference

See GmMultiPolyIntersectorImpl comments. More...

Inheritance diagram for xms::GmMultiPolyIntersector:
xms::GmMultiPolyIntersectorImpl

Static Public Member Functions

static boost::shared_ptr< GmMultiPolyIntersectorNew (const std::vector< Pt3d > &a_points, const std::vector< std::vector< int > > &a_polys, boost::shared_ptr< GmMultiPolyIntersectionSorter > a_sorter, int a_startingId=1)
 Creates a new GmMultiPolyIntersectorImpl object. More...
 

Detailed Description

See GmMultiPolyIntersectorImpl comments.

Definition at line 33 of file GmMultiPolyIntersector.h.

Member Function Documentation

◆ New()

BSHP< GmMultiPolyIntersector > xms::GmMultiPolyIntersector::New ( const std::vector< Pt3d > &  a_points,
const std::vector< std::vector< int > > &  a_polys,
boost::shared_ptr< GmMultiPolyIntersectionSorter a_sorter,
int  a_startingId = 1 
)
static

Creates a new GmMultiPolyIntersectorImpl object.

Parameters
a_pointsThe points that make up the polygon.
a_polys0-based indexes into a_points array to define polygons. The first point is NOT repeated as the last point.
a_sorterClass to clean up and sort the intersections the way you want them.
a_startingIdIf the polygon IDs should start at something other than 1, specify the starting value.
Returns
GmMultiPolyIntersector.

Definition at line 159 of file GmMultiPolyIntersector.cpp.

Referenced by xms::TrBreaklineAdderImpl::CrossesBoundary(), and GmMultiPolyIntersector2IntermediateTests::testLargeNumPolysAndSegments().


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