Name | Description | |
---|---|---|
NTriangle Constructor | Initializer constructor. |
The following tables list the members exposed by NTriangle.
Name | Description | |
---|---|---|
NTriangle Constructor | Initializer constructor. |
Name | Description | |
---|---|---|
A | The first vertex of the triangle | |
B | The second vertex of the triangle | |
C | The third vertex of the triangle |
Name | Description | |
---|---|---|
Area | Gets the triangle area | |
Bounds | Gets the minimal enclosing rectangle | |
BoundsRange | ||
MediCenter | Gets the medi center of the triangle | |
SideA | Gets the side against the a vertex (b, c) | |
SideB | Gets the side against the b vertex (c, a) | |
SideC | Gets the side against the c vertex (a, b) | |
Vertices | Gets an array of the triangle vertices |
Name | Description | |
---|---|---|
AddToPath | Appends the primitive to the specified graphics path | |
Contains | Overloaded. Determines whether the triangle contains the specified point | |
ContainsOnOutline | Determines whether the outline of the triaangle contains the specified point | |
Equals | Overloaded. Checks whether this triangle is equal to the other triangle | |
GetHashCode | ||
GetOutlineLength | Gets the triangle perimeter | |
GetPoint | Gets the triangle point at the specified index. | |
GetPointCount | Gets the points count of the triangle (3). | |
Scale | Scales this triangle with the specified parameters | |
Transform | Transforms this triangle | |
Translate | Translates the primitive with the specified amounts |