Class VertexByPositionComparer
Describes a comparer that allows you to find faces by position.
Inherited Members
Namespace: AlchemyBow.Navigation.Surfaces
Assembly: AlchemyBow.Navigation.dll
Syntax
public sealed class VertexByPositionComparer : OrderedSetRangeComparer<Vertex>
Constructors
| Improve this Doc View SourceVertexByPositionComparer(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. ( |
Properties
| Improve this Doc View SourceResult
The comparsion result.
Declaration
public Vertex Result { get; }
Property Value
| Type | Description |
|---|---|
| Vertex | The comparsion result. |
Methods
| Improve this Doc View SourceCreateMaxBaundary()
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)