The Triangle type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Triangle | Overloaded. |
Methods
| Name | Description | |
|---|---|---|
| Contains | Overloaded. | |
| 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. | |
| Intersect2d | Overloaded. | |
| Intersect3d | Overloaded. | |
| Intersects2d | Overloaded. | |
| Intersects3d | Overloaded. | |
| InvertNormalVector | Inverts the direction of the normal vector by swapping vertex 2 and vertex 3. | |
| IsCoplanarTo | Overloaded. | |
| IsParallelTo | Overloaded. | |
| IsSimilarTo | Tests if two triangles are similar. | |
| Move | Overloaded. | |
| 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. | |
| ReflectIn | Overloaded. | |
| Rotate | Overloaded. | |
| Round | Rounds the coordinates of the vertices of the triangle. | |
| Scale | Overloaded. | |
| SharesEdgeWith | True if the triangle shares an edge with another triangle. | |
| SharesVertexWith | Tests if the triangle shares at least one vertex with another triangle. | |
| Slice | Overloaded. | |
| Sort | Sorts the triangles in a list by their coordinates. | |
| ToString | Returns some properties of the triangle in StringNumberFormat-format. (Overrides Object..::.ToString()()().) | |
| TransformCoordinates | Overloaded. |
Operators
| Name | Description | |
|---|---|---|
| Equality | True if two triangles are considered equal. | |
| Inequality | False if two triangles are considered equal. |
Properties
| Name | Description | |
|---|---|---|
| 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. |