Struct NavigationCell
- Namespace
- Trailblazer.Pathing
- Assembly
- Trailblazer.dll
Stores the complete immutable semantic payload for one authored navigation cell.
public readonly struct NavigationCell : IEquatable<NavigationCell>
- Implements
- Inherited Members
Constructors
NavigationCell(TraversalMedia, TraversalCapability, NavigationAreaId, Fixed64, Fixed64, Fixed64, NavigationCellFlags)
Creates a complete authored navigation-cell payload.
public NavigationCell(TraversalMedia media, TraversalCapability requiredCapabilities, NavigationAreaId area, Fixed64 enterCost, Fixed64 radiusClearance, Fixed64 heightClearance, NavigationCellFlags flags = NavigationCellFlags.None)
Parameters
mediaTraversalMediarequiredCapabilitiesTraversalCapabilityareaNavigationAreaIdenterCostFixed64radiusClearanceFixed64heightClearanceFixed64flagsNavigationCellFlags
Properties
Area
The stable host-defined navigation area used by query-specific policies.
public NavigationAreaId Area { get; }
Property Value
EnterCost
The non-negative cost charged when an edge enters this cell.
public Fixed64 EnterCost { get; }
Property Value
- Fixed64
Flags
Optional transition-generation hints.
public NavigationCellFlags Flags { get; }
Property Value
HeightClearance
The inclusive vertical clearance above the cell anchor.
public Fixed64 HeightClearance { get; }
Property Value
- Fixed64
Media
The traversal media supported by this cell.
public TraversalMedia Media { get; }
Property Value
RadiusClearance
The inclusive horizontal radius clearance at the cell anchor.
public Fixed64 RadiusClearance { get; }
Property Value
- Fixed64
RequiredCapabilities
The complete set of capabilities an agent must possess to enter this cell.
public TraversalCapability RequiredCapabilities { get; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(NavigationCell)
public bool Equals(NavigationCell other)
Parameters
otherNavigationCell
Returns
GetHashCode()
public override int GetHashCode()
Returns
Operators
operator ==(NavigationCell, NavigationCell)
Tests two cell payloads for value equality.
public static bool operator ==(NavigationCell left, NavigationCell right)
Parameters
leftNavigationCellrightNavigationCell
Returns
operator !=(NavigationCell, NavigationCell)
Tests two cell payloads for value inequality.
public static bool operator !=(NavigationCell left, NavigationCell right)
Parameters
leftNavigationCellrightNavigationCell