Struct VoxelContactManifold
Describes exact point, edge, face, or volume contact between two cell prisms.
public readonly struct VoxelContactManifold
- Inherited Members
Properties
CheckedArea
The face area, or horizontal overlap area for a volume overlap.
public Fixed64 CheckedArea { get; }
Property Value
- Fixed64
FaceKind
public VoxelContactFaceKind FaceKind { get; }
Property Value
HorizontalPolygon
The exact overlap polygon for a horizontal face or volume overlap.
public GridConvexPolygon2d HorizontalPolygon { get; }
Property Value
HorizontalSegmentEnd
The second endpoint of a vertical face's exact XZ contact segment.
public Vector2d HorizontalSegmentEnd { get; }
Property Value
- Vector2d
HorizontalSegmentStart
The first endpoint of a vertical face's exact XZ contact segment.
public Vector2d HorizontalSegmentStart { get; }
Property Value
- Vector2d
IsAreaRepresentable
Whether CheckedArea is representable without saturation.
public bool IsAreaRepresentable { get; }
Property Value
IsPositiveAreaFace
Whether this manifold can be considered as an automatic portal before agent clearance checks.
public bool IsPositiveAreaFace { get; }
Property Value
Kind
The exact contact classification.
public VoxelContactKind Kind { get; }
Property Value
Source
The source cell identity.
public WorldVoxelIndex Source { get; }
Property Value
SourceToTarget
The target-center displacement from the source center.
public Vector3d SourceToTarget { get; }
Property Value
- Vector3d
Target
The target cell identity.
public WorldVoxelIndex Target { get; }
Property Value
VerticalFaceHeight
The exact height of a vertical face contact interval.
public Fixed64 VerticalFaceHeight { get; }
Property Value
- Fixed64
VerticalFaceWidth
The exact width of a vertical face contact segment.
public Fixed64 VerticalFaceWidth { get; }
Property Value
- Fixed64
VerticalMax
The upper bound of the shared vertical interval or horizontal face plane.
public Fixed64 VerticalMax { get; }
Property Value
- Fixed64
VerticalMin
The lower bound of the shared vertical interval or horizontal face plane.
public Fixed64 VerticalMin { get; }
Property Value
- Fixed64