Méthode | Description | |
---|---|---|
FindPointCrossings ( Polygon2 a, Polygon2 b ) : List |
Determines the points that would need to be inserted into the resulting intersection geometry between the two given polygons, at the location where their boundaries cross.
|
|
Intersect ( Polygon2 a, Polygon2 b ) : IPlanarGeometry |
Calculates the intersection between two polygons.
|
|
PolygonIntersectionOperation ( ) : System |
Constructs a default polygon intersection operation.
|
Méthode | Description | |
---|---|---|
AddPointsBetweenForward ( List |
||
CodeContractInvariant ( ) : void | ||
CreateIntersectionKernel ( Polygon2 a, Polygon2 b ) : PolygonCrossingsAlgorithmKernel | ||
CreateIntersectionKernelFromCrossings ( List |
Builds required crossing data.
|
|
DetermineFillWinding ( IEnumerable |
Returns the first known point winding associated with ring which has an explicit hole value, failing that the first known ring winding encountered.
|
|
FindNextCrossingNotEqual ( PolygonCrossing currentCrossing, PolygonCrossing crossingsOnRing, IComparer |
||
FindNextRingPoint ( PolygonCrossing currentCrossing, PolygonCrossing crossingsOnRing, Ring2 ring, PolygonBoundaryLocation>.Func |
||
FindPreviousCrossingNotEqual ( PolygonCrossing currentCrossing, PolygonCrossing crossingsOnRing, IComparer |
||
FindPreviousRingPoint ( PolygonCrossing currentCrossing, PolygonCrossing crossingsOnRing, Ring2 ring, PolygonBoundaryLocation>.Func |
||
GetLocationA ( PolygonCrossing crossing ) : PolygonBoundaryLocation | ||
GetLocationB ( PolygonCrossing crossing ) : PolygonBoundaryLocation | ||
GetRingIndexA ( PolygonCrossing crossing ) : int | ||
GetRingIndexB ( PolygonCrossing crossing ) : int | ||
PolygonIntersectionOperation ( |
Constructs a new polygon intersection operation using the given options. Using this constructor can help optimize other operators that rely on intersection operations, such as union or difference. |
|
QualifyRings ( Polygon2 untouchedRings, Polygon2 polygon, bool qualifyEqual ) : List |
||
TraverseCrossings ( PolygonCrossing fromCrossing, PolygonCrossing ringCrossings, int fromCrossingIndex ) : IEnumerable |
public FindPointCrossings ( Polygon2 a, Polygon2 b ) : List |
||
a | Polygon2 | The first polygon to test. |
b | Polygon2 | The second polygon to test. |
Résultat | List |
public Intersect ( Polygon2 a, Polygon2 b ) : IPlanarGeometry | ||
a | Polygon2 | A polygon. |
b | Polygon2 | A polygon. |
Résultat | IPlanarGeometry |
public PolygonIntersectionOperation ( ) : System | ||
Résultat | System |