Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Class: RT.Util.Geometry.TriangleD

Summary

Encapsulates a triangle defined by vertices represented as PointD values.

Constructors

Instantiates a new triangle with the specified vertices.

Instance methods

boolReturns a value indicating whether the circumcircle of this triangle contains v.
bool Returns a value indicating whether one of the triangle edges is equal to e. Edge equality is direction-insensitive.
boolReturns a value indicating whether one of the triangle vertices is equal to v.
string
  • Overrides: object.ToString()
Returns a string representation of the triangle.

Instance properties

PointD Gets the centroid of the triangle. This point is guaranteed to lie inside the triangle, and is the fastest way to obtain a point lying inside the triangle.
PointDGets the circumcenter of the triangle, i.e. the center of the triangle's circumcircle.
CircleDReturns the circumcircle of this triangle.
EdgeDGets the edge connecting vertices TriangleD.V1 and TriangleD.V2.
EdgeDGets the edge connecting vertices TriangleD.V2 and TriangleD.V3.
EdgeDGets the edge connecting vertices TriangleD.V3 and TriangleD.V1.
IEnumerable<EdgeD>Enumerates the edges TriangleD.Edge12, TriangleD.Edge23 and TriangleD.Edge31.
IEnumerable<PointD>Enumerates the vertices TriangleD.V1, TriangleD.V2 and TriangleD.V3.

Instance fields

PointDVertices defining the triangle.
PointD
PointD