Class FacesByMagnitudeRangeComparer
Describes a comparer that allows you to find faces within a specified range.
Inherited Members
Namespace: AlchemyBow.Navigation.Surfaces
Assembly: AlchemyBow.Navigation.dll
Syntax
public sealed class FacesByMagnitudeRangeComparer : OrderedSetRangeComparer<Vertex>
Constructors
| Improve this Doc View SourceFacesByMagnitudeRangeComparer(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 Sourceresult
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 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)