﻿Triangle2D(T) Class
Emgu CV Library Documentation
Triangle2D<(Of <(T>)>) Class
NamespacesEmgu.CVTriangle2D<(Of <(T>)>)

www.emgu.com/wiki
A 2D triangle
Declaration Syntax
 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>```
Generic Template Parameters
T
The depth of the triangle
Members
 All Members Constructors Methods Properties PublicProtected InstanceStatic DeclaredInherited
IconMemberDescription
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)
Determines whether the specified Object is equal to the current 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()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Vertices
Get or set the vertices of this triangle

Inheritance Hierarchy
 Object Triangle2D<(Of <(T>)>)

Assembly: Emgu.CV (Module: Emgu.CV) Version: 1.3.0.0 (1.3.0.0)