• 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 VertexByPositionComparer

Describes a comparer that allows you to find faces by position.

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

Constructors

| Improve this Doc View Source

VertexByPositionComparer(Vector3, Single)

Creates an instance of the VertexByPositionComparer class.

Declaration
public VertexByPositionComparer(Vector3 position, float connectionRadius)
Parameters
Type Name Description
UnityEngine.Vector3 position

The position to look for.

System.Single connectionRadius

The connection radius. (NavigationSettings)

Properties

| Improve this Doc View Source

Result

The comparsion result.

Declaration
public Vertex Result { get; }
Property Value
Type Description
Vertex

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