Свойство | Тип | Описание | |
---|---|---|---|
A | Point | ||
B | Point | ||
C | Point |
Метод | Описание | |
---|---|---|
GetArea ( Point a, Point b, Point c ) : double |
Returns the area of the triangle made from the specified points.
|
|
GetBounds ( ) : |
Returns a Rectangle that represents the bounding box of this Triangle.
|
|
Triangle ( Point a, Point b, Point c ) : System |
Initializes a new instance of the Triangle struct with the supplied coordinates.
|
public static GetArea ( Point a, Point b, Point c ) : double | ||
a | Point | The first point. |
b | Point | The second point. |
c | Point | The third point. |
Результат | double |
public Triangle ( Point a, Point b, Point c ) : System | ||
a | Point | The first point. |
b | Point | The second point. |
c | Point | The third point. |
Результат | System |