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
coordSeqCoordinateSequenceThe coordinate sequence.
ordinatesOrdinatesThe ordinates to copy
DotSpatialAffineCoordinateSequence(IReadOnlyCollection<Coordinate>, Ordinates)
Creates an instance of this class
public DotSpatialAffineCoordinateSequence(IReadOnlyCollection<Coordinate> coordinates, Ordinates ordinates)
Parameters
coordinatesIReadOnlyCollection<Coordinate>The coordinates
ordinatesOrdinates
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
sizeintThe size of the sequence to create.
dimensionintThe number of dimensions.
measuresintThe 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
envEnvelope
Returns
GetCoordinate(int, Coordinate)
public override void GetCoordinate(int index, Coordinate coord)
Parameters
indexintcoordCoordinate
GetCoordinateCopy(int)
public override Coordinate GetCoordinateCopy(int i)
Parameters
iint
Returns
GetM(int)
public override double GetM(int index)
Parameters
indexint
Returns
GetOrdinate(int, int)
public override double GetOrdinate(int index, int ordinateIndex)
Parameters
Returns
GetX(int)
public override double GetX(int index)
Parameters
indexint
Returns
GetY(int)
public override double GetY(int index)
Parameters
indexint
Returns
GetZ(int)
public override double GetZ(int index)
Parameters
indexint
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()