Class KdTreeWrapper
In-memory k-dimensional tree wrapper, using a KD-tree index implementation to support:
INearestOperation
ICircleQueryOperation
IWindowQueryOperation
IIntersectionOperation
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Mars.Core.Data.Wrapper.Memory
Assembly: Mars.Core.dll
Syntax
public class KdTreeWrapper : AbstractOperationWrapper, INearestOperation, ICircleQueryOperation, IWindowQueryOperation, IIntersectionOperation, IOperation, IPlatform, IDisposable
Constructors
| Improve this Doc View SourceKdTreeWrapper()
In-memory k-dimensional tree wrapper, using a KD-tree index implementation to support:
INearestOperation
ICircleQueryOperation
IWindowQueryOperation
IIntersectionOperation
Declaration
public KdTreeWrapper()
Properties
| Improve this Doc View SourcePlatformDescriptor
In-memory k-dimensional tree wrapper, using a KD-tree index implementation to support:
INearestOperation
ICircleQueryOperation
IWindowQueryOperation
IIntersectionOperation
Declaration
public override ProcessingTargetType PlatformDescriptor { get; }
Property Value
Type | Description |
---|---|
ProcessingTargetType |
Overrides
Methods
| Improve this Doc View SourceCircle(Position, Double)
In-memory k-dimensional tree wrapper, using a KD-tree index implementation to support:
INearestOperation
ICircleQueryOperation
IWindowQueryOperation
IIntersectionOperation
Declaration
public IEnumerable<int> Circle(Position source, double radius)
Parameters
Type | Name | Description |
---|---|---|
Position | source | |
System.Double | radius |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Int32> |
Clear()
In-memory k-dimensional tree wrapper, using a KD-tree index implementation to support:
INearestOperation
ICircleQueryOperation
IWindowQueryOperation
IIntersectionOperation
Declaration
public override void Clear()
Overrides
| Improve this Doc View SourceContains(Int32)
In-memory k-dimensional tree wrapper, using a KD-tree index implementation to support:
INearestOperation
ICircleQueryOperation
IWindowQueryOperation
IIntersectionOperation
Declaration
public override bool Contains(int key)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | key |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
| Improve this Doc View SourceDispose()
In-memory k-dimensional tree wrapper, using a KD-tree index implementation to support:
INearestOperation
ICircleQueryOperation
IWindowQueryOperation
IIntersectionOperation
Declaration
public override void Dispose()
Overrides
| Improve this Doc View SourceInsert(Int32, IDomainData)
In-memory k-dimensional tree wrapper, using a KD-tree index implementation to support:
INearestOperation
ICircleQueryOperation
IWindowQueryOperation
IIntersectionOperation
Declaration
public override void Insert(int key, IDomainData data)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | key | |
IDomainData | data |
Overrides
| Improve this Doc View SourceIntersects(Geometry)
In-memory k-dimensional tree wrapper, using a KD-tree index implementation to support:
INearestOperation
ICircleQueryOperation
IWindowQueryOperation
IIntersectionOperation
Declaration
public IEnumerable<int> Intersects(Geometry geometry)
Parameters
Type | Name | Description |
---|---|---|
NetTopologySuite.Geometries.Geometry | geometry |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Int32> |
Nearest(Position, Int32)
In-memory k-dimensional tree wrapper, using a KD-tree index implementation to support:
INearestOperation
ICircleQueryOperation
IWindowQueryOperation
IIntersectionOperation
Declaration
public IEnumerable<int> Nearest(Position source, int k)
Parameters
Type | Name | Description |
---|---|---|
Position | source | |
System.Int32 | k |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Int32> |
Remove(Int32)
In-memory k-dimensional tree wrapper, using a KD-tree index implementation to support:
INearestOperation
ICircleQueryOperation
IWindowQueryOperation
IIntersectionOperation
Declaration
public override void Remove(int key)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | key |
Overrides
| Improve this Doc View SourceScanGeometries()
In-memory k-dimensional tree wrapper, using a KD-tree index implementation to support:
INearestOperation
ICircleQueryOperation
IWindowQueryOperation
IIntersectionOperation
Declaration
public override IEnumerable<IDomainData> ScanGeometries()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IDomainData> |
Overrides
| Improve this Doc View SourceScanKeys()
In-memory k-dimensional tree wrapper, using a KD-tree index implementation to support:
INearestOperation
ICircleQueryOperation
IWindowQueryOperation
IIntersectionOperation
Declaration
public override IEnumerable<int> ScanKeys()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Int32> |
Overrides
| Improve this Doc View SourceUpdate(Int32, IDomainData)
In-memory k-dimensional tree wrapper, using a KD-tree index implementation to support:
INearestOperation
ICircleQueryOperation
IWindowQueryOperation
IIntersectionOperation
Declaration
public override void Update(int key, IDomainData data)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | key | |
IDomainData | data |
Overrides
| Improve this Doc View SourceWindow(Position, Position)
In-memory k-dimensional tree wrapper, using a KD-tree index implementation to support:
INearestOperation
ICircleQueryOperation
IWindowQueryOperation
IIntersectionOperation
Declaration
public IEnumerable<int> Window(Position lowerLeft, Position upperRight)
Parameters
Type | Name | Description |
---|---|---|
Position | lowerLeft | |
Position | upperRight |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Int32> |
Implements
System.IDisposable