How do I get the coordinates for inflating points of a polygon away
from a center point?
based on the PointX PointY and CentroidPointX CentroidPointY what is
the formula to get the new points?
Inflate by 1
PointX = -20
PointY = -37
CentroidPointX = -2;
CentroidPointY = 3;
What is?
InflatedPointX
InflatedPointY
I am not sure if I am on the right track here.
private static Point Inflate(Point centroidLocation, Point
pointLocation, Double change)
{
Point rPoint = new Point(centroidLocation.X,
pointLocation.Y);
Double slope = GetSlope(centroidLocation, pointLocation);
Double hypotenuse = GetHypotenuse(rPoint.X -
pointLocation.X, centroidLocation.Y - rPoint.Y) + change;
??????????????????????????
return......
}