메소드 | 설명 | |
---|---|---|
Clip ( List |
Clip the drawn polygons in a set of tiles, using a circle.
|
|
SlicePolygon ( Polygon p, Circle c, List |
Slices up a polygon with a circle (line case not supported). The input polygon might get reversed |
|
SlicePolygon ( Polygon p, CircleNE c, Geometry g, double thickness, List |
Slices a polygon by a circle with some thickness. Input circle may be a line. The input polygon might get reversed |
메소드 | 설명 | |
---|---|---|
GetNextSegmentIndex ( Polygon walking, int idx ) : int | ||
GetPairPoints ( List |
Get a pair of intersection points.
|
|
SlicePolygonInternal ( Polygon p, Circle c, List |
||
SmallerSplicedArc ( Circle c, List |
Helper to return the smaller spliced arc.
|
|
SplicedArc ( Polygon parent, Circle c, List |
Helper to return a spliced arc.
|
|
SplitHelper ( Segment segmentToSplit, Vector3D iLocation, Polygon diced, List |
Splits segmentToSplit in two based on iLocation. First new segment will be added to diced, and second new segment will be returned. If split doesn't happen, segmentToSplit will be returned.
|
|
WalkPolygon ( Polygon parent, Polygon walking, Circle c, int pair, List |
Helper to walk a polygon, starting from a pair of intersection points. increment determines the direction we are walking. NOTE: when walking from i1 -> i2 along c, we should be moving through the interior of the polygon.
|
public static Clip ( List |
||
tiles | List |
|
c | Circle | |
keepInside | bool | |
리턴 | void |
public static SlicePolygon ( Polygon p, Circle c, List |
||
p | Polygon | |
c | Circle | |
output | List |
|
리턴 | bool |
public static SlicePolygon ( Polygon p, CircleNE c, Geometry g, double thickness, List |
||
p | Polygon | |
c | CircleNE | |
g | Geometry | |
thickness | double | |
output | List |
|
리턴 | void |