The Triangle type exposes the following members.

Constructors

  NameDescription
TriangleOverloaded.

Methods

  NameDescription
ContainsOverloaded.
ContainsOnCircumference
Tests if a point lies on the circumference of the triangle.
DeepCopy
A deep copy of this instance.
Equals
Tests if two triangles are considered equal.
(Overrides Object..::.Equals(Object).)
GetBarycentricCoordinatesOfPoint
Computes the barycentric triangle coordinates alpha:beta:gamma belonging to a point.
GetHashCode
A hash code for this triangle.
(Overrides Object..::.GetHashCode()()().)
GetPlane
Gets the plane the triangle lies on.
GetPointFromBarycentricCoordinates
Computes a point from barycentric triangle coordinates alpha:beta:gamma.
GetPointFromTrilinearCoordinates
Computes a point from trilinear triangle coordinates alpha:beta:gamma.
GetType
Gets the Type of the current instance.
(Inherited from Object.)
HasEdge
Tests if an edge is one of the edges of the triangle.
HasVertex
Tests if a point is one of the vertices of the triangle.
Intersect2dOverloaded.
Intersect3dOverloaded.
Intersects2dOverloaded.
Intersects3dOverloaded.
InvertNormalVector
Inverts the direction of the normal vector by swapping vertex 2 and vertex 3.
IsCoplanarToOverloaded.
IsParallelToOverloaded.
IsSimilarTo
Tests if two triangles are similar.
MoveOverloaded.
OppositeEdge
Returns the edge that is opposite to a given vertex.
OppositeVertex
Returns the vertex that is opposite to the given edge.
ProjectParallelOn
Computes the parallel projection of the triangle onto a plane.
RandomPointInTriangle
A random point in the triangle.
RandomTriangle
A random triangle.
ReflectInOverloaded.
RotateOverloaded.
Round
Rounds the coordinates of the vertices of the triangle.
ScaleOverloaded.
SharesEdgeWith
True if the triangle shares an edge with another triangle.
SharesVertexWith
Tests if the triangle shares at least one vertex with another triangle.
SliceOverloaded.
Sort
Sorts the triangles in a list by their coordinates.
ToString
Returns some properties of the triangle in StringNumberFormat-format.
(Overrides Object..::.ToString()()().)
TransformCoordinatesOverloaded.

Operators

  NameDescription
Equality
True if two triangles are considered equal.
Inequality
False if two triangles are considered equal.

Properties

  NameDescription
Area
Gets the area of the triangle.
Center
Gets the center of the triangle.
Circumcircle
Gets the circumcircle of the triangle.
Circumference
Gets the circumference of the triangle.
ContactTriangle
Gets the contact triangle of the triangle.
Edge1
Gets the first edge of the triangle running from vertex 2 to vertex 3.
Edge2
Gets the second edge of the triangle running from vertex 3 to vertex 1.
Edge3
Gets the third edge of the triangle running from vertex 1 to vertex 2.
Edges
Gets the edges of the triangle.
EulerLine
Gets the Euler-line of the triangle.
Excircles
Gets the three excircles of the triangle.
Incircle
Gets the incircle of the triangle.
IsEquilateral
Tests if the triangle is equilateral.
MaximumAngle
Gets the maximum (largest) angle in the triangle.
MaximumX
Gets the maximum x-coordinate of the triangle.
MaximumY
Gets the maximum y-coordinate of the triangle.
MaximumZ
Gets the maximum z-coordinate of the triangle.
MinimumAngle
Gets the minimum (smallest) angle in the triangle.
MinimumX
Gets the minimum x-coordinate of the triangle.
MinimumY
Gets the minimum y-coordinate of the triangle.
MinimumZ
Gets the minimum z-coordinate of the triangle.
NinePointCircle
Gets the nine-point circle of the triangle.
NormalVector
Gets the normal vector of the triangle.
Orthocenter
Gets the orthocenter of the triangle.
SymmedianPoint
Gets the Symmedian point of the triangle.
TangentialTriangle
Gets the tangential triangle of the triangle.
Vertex1
Gets or sets the first vertex
Vertex2
Gets or sets the second vertex
Vertex3
Gets or sets the third vertex
Vertices
Gets the vertices of the triangle.

See Also