Class RawCoordinateSequence
An implementation of CoordinateSequence that packs its contents in a way that
can be customized by the creator.
Inheritance
RawCoordinateSequence
Assembly: NetTopologySuite.dll
Syntax
[Serializable]
public sealed class RawCoordinateSequence : CoordinateSequence, ISerializable
Constructors
|
Improve this Doc
View Source
RawCoordinateSequence(Memory<Double>[], (Int32 RawDataIndex, Int32 DimensionIndex)[], Int32)
Declaration
public RawCoordinateSequence(Memory<double>[] rawData, (int RawDataIndex, int DimensionIndex)[] dimensionMap, int measures)
Parameters
Type |
Name |
Description |
Memory<Double>[] |
rawData |
Contains the raw data for this sequence.
|
(T1, T2)<Int32, Int32>[] |
dimensionMap |
Contains a pair of indexes to tell us, for each dimension, where to find its data in
rawData .
|
Int32 |
measures |
The value for Measures.
|
Methods
|
Improve this Doc
View Source
Copy()
Declaration
public override CoordinateSequence Copy()
Returns
Overrides
|
Improve this Doc
View Source
ExpandEnvelope(Envelope)
Declaration
public override Envelope ExpandEnvelope(Envelope env)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
GetOrdinate(Int32, Int32)
Declaration
public override double GetOrdinate(int index, int ordinateIndex)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Int32 |
ordinateIndex |
|
Returns
Overrides
|
Improve this Doc
View Source
GetRawCoordinatesAndStride(Int32)
Gets the underlying Memory<T> for the ordinates at the given index, along
with a "stride" value that represents how many slots there are between elements.
Declaration
public (Memory<double> Array, int Stride) GetRawCoordinatesAndStride(int ordinateIndex)
Parameters
Returns
Remarks
|
Improve this Doc
View Source
Reversed()
Declaration
public override CoordinateSequence Reversed()
Returns
Overrides
|
Improve this Doc
View Source
SetOrdinate(Int32, Int32, Double)
Declaration
public override void SetOrdinate(int index, int ordinateIndex, double value)
Parameters
Overrides
|
Improve this Doc
View Source
ToCoordinateArray()
Declaration
public override Coordinate[] ToCoordinateArray()
Returns
Overrides
Explicit Interface Implementations
|
Improve this Doc
View Source
ISerializable.GetObjectData(SerializationInfo, StreamingContext)
Declaration
void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Implements
Extension Methods