<< Click to Display Table of Contents >> NShape Reference
|
Calculates the intersection points of the shape's outline with the given line segment.
public abstract IEnumerable<Point> IntersectOutlineWithLineSegment(int x1, int y1, int x2, int y2) |
Calculates all intersection points of the shape's outline with the given line segment. Does not return any point if there is no intersection.
Name |
Description |
---|---|
x1, y1, x2, y2 |
Define the start and the end point of the line segment. |
Intersection points of the shape's outline with the given line segment.
Name |
Description |
---|---|
ArgumentException |
The coordinates do not define a valid line segment. |