A 2D triangle

C# | Visual Basic | Visual C++ |
public class Triangle2D<T> : IConvexPolygon<T> where T : new(), IComparable
Public Class Triangle2D(Of T As {New, IComparable}) _ Implements IConvexPolygon(Of T)
generic<typename T> where T : gcnew(), IComparable public ref class Triangle2D : IConvexPolygon<T>

- T
- The depth of the triangle

All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
![]() | Triangle2D<(Of <(T>)>)(Point2D<(Of <(T>)>), Point2D<(Of <(T>)>), Point2D<(Of <(T>)>)) |
Create a triangle using the specific vertices
|
![]() | Area |
Get the area of this triangle
|
![]() | Equals(Triangle2D<(Of <(T>)>)) |
Compare two triangles and return true if equal
|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize()()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode()()() | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType()()() | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone()()() | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString()()() | (Inherited from Object.) |
![]() | Vertices |
Get or set the vertices of this triangle
|

Object | |
![]() | Triangle2D<(Of <(T>)>) |