C# Class SharpMap.Geometries.LineString

Inheritance: Curve
Afficher le fichier Open project: jumpinjackie/fdotoolbox Class Usage Examples

Méthodes publiques

Méthode Description
Boundary ( ) : Geometry

Returns the closure of the combinatorial boundary of this Geometry. The combinatorial boundary is defined as described in section 3.12.3.2 of [1]. Because the result of this function is a closure, and hence topologically closed, the resulting boundary can be represented using representational geometry primitives

Buffer ( double d ) : Geometry

Returns a geometry that represents all points whose distance from this Geometry is less than or equal to distance. Calculations are in the Spatial Reference System of this Geometry.

Clone ( ) : LineString

Return a copy of this geometry

ConvexHull ( ) : Geometry

Geometry—Returns a geometry that represents the convex hull of this Geometry.

Difference ( Geometry geom ) : Geometry

Returns a geometry that represents the point set difference of this Geometry with anotherGeometry.

Distance ( Geometry geom ) : double

Returns the shortest distance between any two points in the two geometries as calculated in the spatial reference system of this Geometry.

Equals ( LineString l ) : bool

Checks whether this instance is spatially equal to the LineString 'l'

GetBoundingBox ( ) : BoundingBox

The minimum bounding box for this Geometry.

GetHashCode ( ) : int

Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.

Intersection ( Geometry geom ) : Geometry

Returns a geometry that represents the point set intersection of this Geometry with anotherGeometry.

IsEmpty ( ) : bool

If true, then this Geometry represents the empty point set, Ø, for the coordinate space.

IsSimple ( ) : bool

Returns 'true' if this Geometry has no anomalous geometric points, such as self intersection or self tangency. The description of each instantiable geometric class will include the specific conditions that cause an instance of that class to be classified as not simple.

LineString ( ) : System

Initializes an instance of a LineString

LineString ( List vertices ) : System

Initializes an instance of a LineString from a set of vertices

Point ( int N ) : System.Point

Returns the specified point N in this Linestring.

This method is supplied as part of the OpenGIS Simple Features Specification

SymDifference ( Geometry geom ) : Geometry

Returns a geometry that represents the point set symmetric difference of this Geometry with anotherGeometry.

TransformToImage ( Map map ) : System.Drawing.PointF[]

Transforms the linestring to image coordinates, based on the map

Union ( Geometry geom ) : Geometry

Returns a geometry that represents the point set union of this Geometry with anotherGeometry.

Value ( double t ) : System.Point

The position of a point on the line, parameterised by length.

Method Details

Boundary() public méthode

Returns the closure of the combinatorial boundary of this Geometry. The combinatorial boundary is defined as described in section 3.12.3.2 of [1]. Because the result of this function is a closure, and hence topologically closed, the resulting boundary can be represented using representational geometry primitives
public Boundary ( ) : Geometry
Résultat Geometry

Buffer() public méthode

Returns a geometry that represents all points whose distance from this Geometry is less than or equal to distance. Calculations are in the Spatial Reference System of this Geometry.
public Buffer ( double d ) : Geometry
d double Buffer distance
Résultat Geometry

Clone() public méthode

Return a copy of this geometry
public Clone ( ) : LineString
Résultat LineString

ConvexHull() public méthode

Geometry—Returns a geometry that represents the convex hull of this Geometry.
public ConvexHull ( ) : Geometry
Résultat Geometry

Difference() public méthode

Returns a geometry that represents the point set difference of this Geometry with anotherGeometry.
public Difference ( Geometry geom ) : Geometry
geom Geometry Geometry to compare to
Résultat Geometry

Distance() public méthode

Returns the shortest distance between any two points in the two geometries as calculated in the spatial reference system of this Geometry.
public Distance ( Geometry geom ) : double
geom Geometry Geometry to calculate distance to
Résultat double

Equals() public méthode

Checks whether this instance is spatially equal to the LineString 'l'
public Equals ( LineString l ) : bool
l LineString LineString to compare to
Résultat bool

GetBoundingBox() public méthode

The minimum bounding box for this Geometry.
public GetBoundingBox ( ) : BoundingBox
Résultat BoundingBox

GetHashCode() public méthode

Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
public GetHashCode ( ) : int
Résultat int

Intersection() public méthode

Returns a geometry that represents the point set intersection of this Geometry with anotherGeometry.
public Intersection ( Geometry geom ) : Geometry
geom Geometry Geometry to intersect with
Résultat Geometry

IsEmpty() public méthode

If true, then this Geometry represents the empty point set, Ø, for the coordinate space.
public IsEmpty ( ) : bool
Résultat bool

IsSimple() public méthode

Returns 'true' if this Geometry has no anomalous geometric points, such as self intersection or self tangency. The description of each instantiable geometric class will include the specific conditions that cause an instance of that class to be classified as not simple.
public IsSimple ( ) : bool
Résultat bool

LineString() public méthode

Initializes an instance of a LineString
public LineString ( ) : System
Résultat System

LineString() public méthode

Initializes an instance of a LineString from a set of vertices
public LineString ( List vertices ) : System
vertices List
Résultat System

Point() public méthode

Returns the specified point N in this Linestring.
This method is supplied as part of the OpenGIS Simple Features Specification
public Point ( int N ) : System.Point
N int
Résultat System.Point

SymDifference() public méthode

Returns a geometry that represents the point set symmetric difference of this Geometry with anotherGeometry.
public SymDifference ( Geometry geom ) : Geometry
geom Geometry Geometry to compare to
Résultat Geometry

TransformToImage() public méthode

Transforms the linestring to image coordinates, based on the map
public TransformToImage ( Map map ) : System.Drawing.PointF[]
map Map Map to base coordinates on
Résultat System.Drawing.PointF[]

Union() public méthode

Returns a geometry that represents the point set union of this Geometry with anotherGeometry.
public Union ( Geometry geom ) : Geometry
geom Geometry Geometry to union with
Résultat Geometry

Value() public méthode

The position of a point on the line, parameterised by length.
public Value ( double t ) : System.Point
t double Distance down the line
Résultat System.Point