LineUtils Class
Namespace | Skybrud.Essentials.Maps |
---|---|
Assembly | Skybrud.Essentials.Maps.dll |
Visibility | Public |
Keywords | Static |
Inheritance | Object |
Static class with various utility/helper methods for working with lines and line strings.
public static class LineUtils { }
Methods
Returns the heading from one point (identified by |
ComputeHeading(IPoint, IPoint)
(static)
Returns the heading of the line that goes from |
Returns the IPoint resulting from moving a distance from an origin in the specified heading (expressed in degrees clockwise from north). The calculations are based on EquatorialRadius as the radius. |
Returns the IPoint resulting from moving a distance from an origin in the specified heading (expressed in degrees clockwise from north). |
Returns the point of intersections between the two lines defined by the points |
GetIntersection(ILine, ILine)
(static)
Returns the point of intersection between |
GetLength(List<T>)
(static)
Gets the length of the line or line string represented by the specified |
GetLength(IPoint[])
(static)
Gets the length of the line or line string represented by the specified |
Returns whether the two lines by the points |
Intersects(ILine, ILine)
(static)
Returns whether the lines |
Returns whether the two lines by the points |
Intersects(ILine, ILine, out IPoint)
(static)
Returns whether the lines |