Table of Contents

Constructor GeoTriangle3

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

GeoTriangle3(GeoPoint3, GeoPoint3, GeoPoint3)

Initializes a new triangle from three vertices.

public GeoTriangle3(GeoPoint3 a, GeoPoint3 b, GeoPoint3 c)

Parameters

a GeoPoint3

First vertex.

b GeoPoint3

Second vertex.

c GeoPoint3

Third vertex.

Remarks

Degenerate input is accepted rather than rejected: three collinear or coincident points still make a usable triangle whose Area is zero, and callers that care can ask IsDegenerate(). Rejecting it here would make triangulating a polygon fail on the slivers that triangulation naturally produces.