Constructor GeoTriangle2
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
GeoTriangle2(GeoPoint2, GeoPoint2, GeoPoint2)
Initializes a new triangle from three vertices.
public GeoTriangle2(GeoPoint2 a, GeoPoint2 b, GeoPoint2 c)
Parameters
Remarks
The vertices are kept in the order given, so the triangle runs whichever way they do; IsClockwise says which. Degenerate input is accepted rather than rejected: three collinear or coincident points still make a triangle, whose Area is nought, and IsDegenerate() says so.