프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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 |