C# Class Mapsui.Geometries.LineString

A LineString is a Curve with linear interpolation between points. Each consecutive pair of points defines a line segment.
Inheritance: Geometry
Afficher le fichier Open project: pauldendulk/Mapsui Class Usage Examples

Méthodes publiques

Méthode Description
Clone ( ) : LineString

Return a copy of this geometry

Contains ( System.Point point ) : bool
Distance ( System.Point point ) : 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 lineString ) : 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.

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 ( IEnumerable vertices ) : System

Initializes an instance of a LineString from a set of vertices

LineString ( IEnumerable points ) : System

Initializes an instance of a LineString

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

Method Details

Clone() public méthode

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

Contains() public méthode

public Contains ( System.Point point ) : bool
point System.Point
Résultat bool

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 ( System.Point point ) : double
point System.Point 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 lineString ) : bool
lineString 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

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 ( IEnumerable vertices ) : System
vertices IEnumerable
Résultat System

LineString() public méthode

Initializes an instance of a LineString
public LineString ( IEnumerable points ) : System
points IEnumerable
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