• Articles
  • Api Documentation
Show / Hide Table of Contents
  • AlchemyBow.Navigation
    • AlchemyNavigationSystem
    • BasicAgent
    • FacesHolder
    • NavigationAct
    • NavigationFaceWrapper
    • NavigationInfo
    • PathfindingRequest
    • PathfindingRequest.PathType
    • PathfindingRequest.Status
  • AlchemyBow.Navigation.BackgroundProcessing
    • BackgroundProcessor
    • BackgroundProcessor.States
    • BuildingProcess
    • IBackgroundCommand
    • PathfindingProcess
    • RegisterFaceCommand
    • UnregisterFaceCommand
  • AlchemyBow.Navigation.Collections
    • OrderedSet<T>
    • OrderedSetNode<T>
    • OrderedSetRangeComparer<T>
  • AlchemyBow.Navigation.DebugUnits
    • AlchemyNavigationSystemDebugUnit
    • CompositeSurfaceDrawer
    • GizmosSurfaceDrawer
    • ISurfaceDrawer
    • MinimalGizmosSurfaceDrawer
  • AlchemyBow.Navigation.HighLevel
    • MeshBasedBake
    • MeshBasedBakeGroup
    • MeshBasedBakeSettings
    • WorldMesh
  • AlchemyBow.Navigation.PropertyAttributes
    • AreaIndexAttribute
    • AreaMaskAttribute
    • LayerIndexAttribute
  • AlchemyBow.Navigation.Settings
    • AlchemyNavigationSettingsPreset
    • NavigationAreaSettings
    • NavigationLayerSettings
    • NavigationSettings
  • AlchemyBow.Navigation.Simple
    • SimpleAgent
  • AlchemyBow.Navigation.Simple.Elements
    • AvoidanceGroup
    • AvoidanceModifier
    • CachedFace
    • ISteeredBehaviour
    • MovementModifier
    • PathProgress
  • AlchemyBow.Navigation.Surfaces
    • Edge
    • Face
    • FacesByMagnitudeRangeComparer
    • NavigationSurface
    • SurfaceRaycastHit
    • Usage<TUser>
    • UsageTrackingObject<TUser>
    • Vertex
    • VertexByPositionComparer
  • AlchemyBow.Navigation.Surfaces.SafeAccess
    • IImmutableFace
    • SurfaceImmutableRaycastHit
  • AlchemyBow.Navigation.Utilities
    • ChannelUnwrapper
    • FaceAStar
    • FaceStarUnit
    • Funnel
    • ICommand

Class FacesByMagnitudeRangeComparer

Describes a comparer that allows you to find faces within a specified range.

Inheritance
System.Object
OrderedSetRangeComparer<Vertex>
FacesByMagnitudeRangeComparer
Inherited Members
OrderedSetRangeComparer<Vertex>.Calculate(OrderedSetNode<Vertex>)
Namespace: AlchemyBow.Navigation.Surfaces
Assembly: AlchemyBow.Navigation.dll
Syntax
public sealed class FacesByMagnitudeRangeComparer : OrderedSetRangeComparer<Vertex>

Constructors

| Improve this Doc View Source

FacesByMagnitudeRangeComparer(Single, Single, Int32)

Creates an instance of the FacesByMagnitudeRangeComparer class.

Declaration
public FacesByMagnitudeRangeComparer(float a, float b, int areaMask)
Parameters
Type Name Description
System.Single a

The magnitude baundary A.

System.Single b

The magnitude baundary B.

System.Int32 areaMask

An area mask that is used to selectively ignore faces.

Fields

| Improve this Doc View Source

result

The comparsion result.

Declaration
public readonly HashSet<Face> result
Field Value
Type Description
System.Collections.Generic.HashSet<Face>

The comparsion result.

Methods

| Improve this Doc View Source

CreateMaxBaundary()

Creates the maximum boundary.

Declaration
protected override IComparable<Vertex> CreateMaxBaundary()
Returns
Type Description
System.IComparable<Vertex>

A fake vertex with fixed magnitude.

Overrides
AlchemyBow.Navigation.Collections.OrderedSetRangeComparer<AlchemyBow.Navigation.Surfaces.Vertex>.CreateMaxBaundary()
| Improve this Doc View Source

CreateMinBaundary()

Creates the minimum boundary.

Declaration
protected override IComparable<Vertex> CreateMinBaundary()
Returns
Type Description
System.IComparable<Vertex>

A fake vertex with fixed magnitude.

Overrides
AlchemyBow.Navigation.Collections.OrderedSetRangeComparer<AlchemyBow.Navigation.Surfaces.Vertex>.CreateMinBaundary()
| Improve this Doc View Source

OnMove(Vertex)

Called for each vertex in the range.

Declaration
public override void OnMove(Vertex value)
Parameters
Type Name Description
Vertex value

The vertex.

Overrides
AlchemyBow.Navigation.Collections.OrderedSetRangeComparer<AlchemyBow.Navigation.Surfaces.Vertex>.OnMove(AlchemyBow.Navigation.Surfaces.Vertex)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX