<< Click to Display Table of Contents >> NShape Reference
|
Calculates a vector perpendicular to the shape's outline.
public abstract Point CalculateNormalVector(int x, int y) |
X, y must define a point on the outline of the shape. If they do not, the result of this function is undefined. If they do, the result is a point such that the vector from (x, y) to the result point is perpendicular to the shape's outline and has a length of 100.
Name |
Description |
---|---|
x, y |
Coordinates of foot |
End point of normal vector.
None