Class DotSpatialAffineCoordinateSequence
- Namespace
- NetTopologySuite.Geometries.Implementation
- Assembly
- NetTopologySuite.dll
A coordinate sequence that follows the dotspatial shape range
public class DotSpatialAffineCoordinateSequence : CoordinateSequence
- Inheritance
-
DotSpatialAffineCoordinateSequence
- Inherited Members
- Extension Methods
Constructors
DotSpatialAffineCoordinateSequence(CoordinateSequence, Ordinates)
Creates a sequence based on the given coordinate sequence.
public DotSpatialAffineCoordinateSequence(CoordinateSequence coordSeq, Ordinates ordinates)
Parameters
coordSeq
CoordinateSequenceThe coordinate sequence.
ordinates
OrdinatesThe ordinates to copy
DotSpatialAffineCoordinateSequence(IReadOnlyCollection<Coordinate>, Ordinates)
Creates an instance of this class
public DotSpatialAffineCoordinateSequence(IReadOnlyCollection<Coordinate> coordinates, Ordinates ordinates)
Parameters
coordinates
IReadOnlyCollection<Coordinate>The coordinates
ordinates
Ordinates
DotSpatialAffineCoordinateSequence(double[], double[], double[])
public DotSpatialAffineCoordinateSequence(double[] xy, double[] z, double[] m)
Parameters
DotSpatialAffineCoordinateSequence(int, Ordinates)
Constructs a sequence of a given size, populated with new Coordinates.
public DotSpatialAffineCoordinateSequence(int size, Ordinates ordinates)
Parameters
DotSpatialAffineCoordinateSequence(int, int, int)
Constructs a sequence of a given size, populated with new Coordinates.
public DotSpatialAffineCoordinateSequence(int size, int dimension, int measures)
Parameters
size
intThe size of the sequence to create.
dimension
intThe number of dimensions.
measures
intThe number of measures.
Properties
M
Gets the vector with measure values
public double[] M { get; }
Property Value
- double[]
Remarks
If you modify the values of this vector externally, you need to call ReleaseCoordinateArray()!
XY
Gets the vector with x- and y-ordinate values;
public double[] XY { get; }
Property Value
- double[]
Remarks
If you modify the values of this vector externally, you need to call ReleaseCoordinateArray()!
Z
Gets the vector with z-ordinate values
public double[] Z { get; }
Property Value
- double[]
Remarks
If you modify the values of this vector externally, you need to call ReleaseCoordinateArray()!
Methods
Copy()
public override CoordinateSequence Copy()
Returns
ExpandEnvelope(Envelope)
public override Envelope ExpandEnvelope(Envelope env)
Parameters
env
Envelope
Returns
GetCoordinate(int, Coordinate)
public override void GetCoordinate(int index, Coordinate coord)
Parameters
index
intcoord
Coordinate
GetCoordinateCopy(int)
public override Coordinate GetCoordinateCopy(int i)
Parameters
i
int
Returns
GetM(int)
public override double GetM(int index)
Parameters
index
int
Returns
GetOrdinate(int, int)
public override double GetOrdinate(int index, int ordinateIndex)
Parameters
Returns
GetX(int)
public override double GetX(int index)
Parameters
index
int
Returns
GetY(int)
public override double GetY(int index)
Parameters
index
int
Returns
GetZ(int)
public override double GetZ(int index)
Parameters
index
int
Returns
ReleaseCoordinateArray()
Releases the weak reference to the weak referenced coordinate array
public void ReleaseCoordinateArray()
Remarks
Reversed()
Creates a reversed version of this coordinate sequence with cloned Coordinates
public override CoordinateSequence Reversed()
Returns
- CoordinateSequence
A reversed version of this sequence
SetM(int, double)
public override void SetM(int index, double value)
Parameters
SetOrdinate(int, int, double)
public override void SetOrdinate(int index, int ordinateIndex, double value)
Parameters
SetX(int, double)
public override void SetX(int index, double value)
Parameters
SetY(int, double)
public override void SetY(int index, double value)
Parameters
SetZ(int, double)
public override void SetZ(int index, double value)
Parameters
ToCoordinateArray()
public override Coordinate[] ToCoordinateArray()