A polygon in 3D space.
More...
|
| | Polygon3D (T[] points) |
| | Constructor.
|
| |
| override bool | Equals (object obj) |
| | Indicates whether this instance and the given obj are equal.
|
| |
| bool | Equals (Polygon3D< T > obj) |
| | Indicates whether this instance and the given obj are equal.
|
| |
| override int | GetHashCode () |
| | Returns the hash code for this instance.
|
| |
|
|
ReadOnlyCollection< T > | Points [get] |
| | The points of the polygon.
|
| |
A polygon in 3D space.
- Template Parameters
-
◆ Equals() [1/2]
| override bool Equals |
( |
object | obj | ) |
|
Indicates whether this instance and the given obj are equal.
- Parameters
-
- Returns
- True if obj and this instance are the same type and represent the same value; otherwise, false.
◆ Equals() [2/2]
Indicates whether this instance and the given obj are equal.
- Parameters
-
- Returns
- True if obj and this instance represent the same value; otherwise, false.
◆ GetHashCode()
| override int GetHashCode |
( |
| ) |
|
Returns the hash code for this instance.
- Returns
- A 32-bit signed integer that is the hash code for this instance.
◆ operator!=()
Inequality comparison operator.
- Parameters
-
| left | Left hand side operand. |
| right | Right hand side operand. |
- Returns
- True if left != right , otherwise false.
◆ operator==()
Equality comparison operator.
- Parameters
-
| left | Left hand side operand. |
| right | Right hand side operand. |
- Returns
- True if left == right , otherwise false.
◆ Polygon3D()
Constructor.
- Parameters
-
| points | Points of the polygon. |
- Exceptions
-
| ArgumentException | When the type of the points contained in points is not Point3Dd or Point3Df or points contains less than 3 points. |
| ArgumentNullException | When points is null. |