The Triangle type exposes the following members.

# 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. |