Table of Contents

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

a GeoPoint2

First vertex.

b GeoPoint2

Second vertex.

c GeoPoint2

Third vertex.

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.