point2line index
Name Space2
Description Space2 is a class that compiles a bunch of useful functions for calculating geometry in 2D space and is only meant to be accessed statically.

Maintained by Carl Emil Carlsen 2005+

Space2 is part of the point2line library. The library is free software; you can redistribute it and/or modify it for any desirable purpose. It is distributed in the hope that it will be useful, but without any warranty.
Constructors
Methods
closestPointOnLine ( )   Calculates the closest point on a continuous line from a given point.

closestPointOnLineSegment ( )   Calculates the closest point on a line segment from a given point.

closestPointToLine ( )   Finds the closest point on a continuous line from an array of points.

ellipsePoint ( )   Calculates the point on an ellipse at a specific angle.

insidePolygon ( )   Calculates whether a point is inside a polygon.

lineIntersection ( )   Calculates the intersection of two lines.

lineSegmentIntersection ( )   Calculates the intersection of two lines.

pointToLineDistance ( )   Calculates the distance from a point to a line.

Usage Web & Application
Related
Examples
None available