public boolean getClosestEdge(LineSegment2d closestEdgeToPack, Point2d point) { return ConvexPolygon2dCalculator.getClosestEdge(point, this, closestEdgeToPack); }
public static LineSegment2d getClosestEdgeCopy(Point2d point, ConvexPolygon2d polygon) { LineSegment2d ret = new LineSegment2d(); if (getClosestEdge(point, polygon, ret)) return ret; return null; } }