Class TripsLine
Inheritance
LineString
TripsLine
Assembly: SOHMultimodalModel.dll
Syntax
public class TripsLine : LineString
Constructors
TripsLine(TripPosition[])
Initializes a new instance of the class.
Declaration
public TripsLine(TripPosition[] points)
Parameters
Type |
Name |
Description |
TripPosition[] |
points |
The coordinates used for create this . |
Properties
Boundary
Returns the boundary, or an empty geometry of appropriate dimension
if this Geometry
is empty.
For a discussion of this function, see the OpenGIS Simple
Features Specification. As stated in SFS Section 2.1.13.1, "the boundary
of a Geometry is a set of Geometries of the next lower dimension."
Declaration
public override Geometry Boundary { get; }
Property Value
Type |
Description |
Geometry |
The closure of the combinatorial boundary of this Geometry . |
BoundaryDimension
Declaration
public override Dimension BoundaryDimension { get; }
Property Value
Type |
Description |
Dimension |
|
Coordinate
Declaration
public override Coordinate Coordinate { get; }
Property Value
Type |
Description |
Coordinate |
|
Coordinates
Returns an array containing the values of all the vertices for
this geometry.
Declaration
public override Coordinate[] Coordinates { get; }
Property Value
Type |
Description |
Coordinate[] |
|
Dimension
Declaration
public override Dimension Dimension { get; }
Property Value
Type |
Description |
Dimension |
|
GeometryType
Returns the name of this object's interface.
Declaration
public override string GeometryType { get; }
Property Value
Type |
Description |
System.String |
"LineString" |
IsClosed
Gets a value indicating if this LINESTRING
is closed.
Declaration
public override bool IsClosed { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsEmpty
Declaration
public override bool IsEmpty { get; }
Property Value
Type |
Description |
System.Boolean |
|
NumPoints
Declaration
public override int NumPoints { get; }
Property Value
Type |
Description |
System.Int32 |
|
OgcGeometryType
Gets the OGC geometry type
Declaration
public override OgcGeometryType OgcGeometryType { get; }
Property Value
Type |
Description |
OgcGeometryType |
|
SortIndex
Gets a value to sort the geometry
Declaration
protected override SortIndexValue SortIndex { get; }
Property Value
Type |
Description |
SortIndexValue |
|
Methods
Apply(ICoordinateFilter)
Declaration
public override void Apply(ICoordinateFilter filter)
Parameters
Type |
Name |
Description |
ICoordinateFilter |
filter |
|
Apply(ICoordinateSequenceFilter)
Performs an operation on the coordinates in this Geometry
's.
Declaration
public override void Apply(ICoordinateSequenceFilter filter)
Parameters
Type |
Name |
Description |
ICoordinateSequenceFilter |
filter |
The filter to apply |
Apply(IGeometryComponentFilter)
Performs an operation with or on this Geometry and its
component Geometry's. Only GeometryCollections and
Polygons have component Geometry's; for Polygons they are the LinearRings
of the shell and holes.
Declaration
public override void Apply(IGeometryComponentFilter filter)
Parameters
Type |
Name |
Description |
IGeometryComponentFilter |
filter |
The filter to apply to this Geometry . |
Apply(IGeometryFilter)
Performs an operation with or on this Geometry
and its
subelement Geometry
s (if any).
Declaration
public override void Apply(IGeometryFilter filter)
Parameters
Type |
Name |
Description |
IGeometryFilter |
filter |
The filter to apply to this Geometry (and
its children, if it is a GeometryCollection ).
|
CompareToSameClass(Object)
Declaration
protected override int CompareToSameClass(object o)
Parameters
Type |
Name |
Description |
System.Object |
o |
|
Returns
Type |
Description |
System.Int32 |
|
CompareToSameClass(Object, IComparer<CoordinateSequence>)
Declaration
protected override int CompareToSameClass(object o, IComparer<CoordinateSequence> comp)
Parameters
Type |
Name |
Description |
System.Object |
o |
|
IComparer<CoordinateSequence> |
comp |
|
Returns
Type |
Description |
System.Int32 |
|
ComputeEnvelopeInternal()
Declaration
protected override Envelope ComputeEnvelopeInternal()
Returns
Type |
Description |
Envelope |
|
CopyInternal()
Declaration
protected override Geometry CopyInternal()
Returns
Type |
Description |
Geometry |
|
EqualsExact(Geometry, Double)
Declaration
public override bool EqualsExact(Geometry other, double tolerance)
Parameters
Type |
Name |
Description |
Geometry |
other |
|
System.Double |
tolerance |
|
Returns
Type |
Description |
System.Boolean |
|
GetOrdinates(Ordinate)
Gets an array of ordinate values
Declaration
public override double[] GetOrdinates(Ordinate ordinate)
Parameters
Type |
Name |
Description |
Ordinate |
ordinate |
The ordinate index |
Returns
Type |
Description |
System.Double[] |
An array of ordinate values |
IsEquivalentClass(Geometry)
Declaration
protected override bool IsEquivalentClass(Geometry other)
Parameters
Type |
Name |
Description |
Geometry |
other |
|
Returns
Type |
Description |
System.Boolean |
|
Normalize()
Normalizes a LineString
. A normalized LineString
has the first point which is not equal to it's reflected point
less than the reflected point.
Declaration
public override void Normalize()