C# Class Danmaku_no_Kyojin.Triangulator.Utils.Triangle

A basic triangle structure that holds the three vertices that make up a given triangle.
Datei anzeigen Open project: Noxalus/Danmaku-no-Kyojin Class Usage Examples

Public Properties

Property Type Description
A Vertex
B Vertex
C Vertex

Public Methods

Method Description
ContainsPoint ( Vertex point ) : bool
ContainsPoint ( Vertex a, Vertex b, Vertex c, Vertex point ) : bool
Equals ( Triangle obj ) : bool
Equals ( object obj ) : bool
GetHashCode ( ) : int
Triangle ( Vertex a, Vertex b, Vertex c )

Private Methods

Method Description
checkPointToSegment ( Vertex sA, Vertex sB, Vertex point ) : bool

Method Details

ContainsPoint() public method

public ContainsPoint ( Vertex point ) : bool
point Vertex
return bool

ContainsPoint() public static method

public static ContainsPoint ( Vertex a, Vertex b, Vertex c, Vertex point ) : bool
a Vertex
b Vertex
c Vertex
point Vertex
return bool

Equals() public method

public Equals ( Triangle obj ) : bool
obj Triangle
return bool

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

Triangle() public method

public Triangle ( Vertex a, Vertex b, Vertex c )
a Vertex
b Vertex
c Vertex

Property Details

A public_oe property

public Vertex,Danmaku_no_Kyojin.Triangulator.Utils A
return Vertex

B public_oe property

public Vertex,Danmaku_no_Kyojin.Triangulator.Utils B
return Vertex

C public_oe property

public Vertex,Danmaku_no_Kyojin.Triangulator.Utils C
return Vertex