Table of Contents

Struct VoxelContactManifold

Namespace
GridForge.Grids.Topology
Assembly
GridForge.dll

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

The face orientation when Kind is Face.

public VoxelContactFaceKind FaceKind { get; }

Property Value

VoxelContactFaceKind

HorizontalPolygon

The exact overlap polygon for a horizontal face or volume overlap.

public GridConvexPolygon2d HorizontalPolygon { get; }

Property Value

GridConvexPolygon2d

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

bool

IsPositiveAreaFace

Whether this manifold can be considered as an automatic portal before agent clearance checks.

public bool IsPositiveAreaFace { get; }

Property Value

bool

Kind

The exact contact classification.

public VoxelContactKind Kind { get; }

Property Value

VoxelContactKind

Source

The source cell identity.

public WorldVoxelIndex Source { get; }

Property Value

WorldVoxelIndex

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

WorldVoxelIndex

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