Defines a 2D edge in its local space. In order to create a Shape2D of type Shape2DType.Edge, use Shape2D.CreateEdge.
- See also
- Shape2D, Shape2DType
More...
|
| readonly override Int32 | GetHashCode () |
| | Overrides the hash code generation of this type. More...
|
| |
|
| FP | Extent |
| | Defines the distance from the edge centroid to the furthest point in either direction of its elongated axis. More...
|
| |
|
| const int | SIZE = FP.SIZE |
| | The size of the struct in bytes. More...
|
| |
Defines a 2D edge in its local space. In order to create a Shape2D of type Shape2DType.Edge, use Shape2D.CreateEdge.
- See also
- Shape2D, Shape2DType
◆ Serialize()
Serializes a EdgeShape into an instance of IDeterministicFrameSerializer.
- Parameters
-
| ptr | The pointer to the EdgeShape. |
| serializer | The instance of IDeterministicFrameSerializer. |
◆ GetHashCode()
| readonly override Int32 Quantum.Shape2D.EdgeShape.GetHashCode |
( |
| ) |
|
|
inline |
Overrides the hash code generation of this type.
- Returns
- A hash code of the current state of this instance.
◆ SIZE
| const int Quantum.Shape2D.EdgeShape.SIZE = FP.SIZE |
|
static |
The size of the struct in bytes.
◆ Extent
| FP Quantum.Shape2D.EdgeShape.Extent |
Defines the distance from the edge centroid to the furthest point in either direction of its elongated axis.