C# Класс Mapsui.Geometries.LineString

A LineString is a Curve with linear interpolation between points. Each consecutive pair of points defines a line segment.
Наследование: Geometry
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

Clone() публичный Метод

Return a copy of this geometry
public Clone ( ) : LineString
Результат LineString

Contains() публичный Метод

public Contains ( System.Point point ) : bool
point System.Point
Результат bool

Distance() публичный Метод

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
Результат double

Equals() публичный Метод

Checks whether this instance is spatially equal to the LineString 'l'
public Equals ( LineString lineString ) : bool
lineString LineString LineString to compare to
Результат bool

GetBoundingBox() публичный Метод

The minimum bounding box for this Geometry.
public GetBoundingBox ( ) : BoundingBox
Результат BoundingBox

GetHashCode() публичный Метод

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
Результат int

IsEmpty() публичный Метод

If true, then this Geometry represents the empty point set, Ø, for the coordinate space.
public IsEmpty ( ) : bool
Результат bool

IsSimple() публичный Метод

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
Результат bool

LineString() публичный Метод

Initializes an instance of a LineString
public LineString ( ) : System
Результат System

LineString() публичный Метод

Initializes an instance of a LineString from a set of vertices
public LineString ( IEnumerable vertices ) : System
vertices IEnumerable
Результат System

LineString() публичный Метод

Initializes an instance of a LineString
public LineString ( IEnumerable points ) : System
points IEnumerable
Результат System

Point() публичный Метод

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
Результат System.Point