C# Class Mapsui.Geometries.LinearRing

A LinearRing is a LineString that is both closed and simple.
Inheritance: LineString
Mostrar archivo Open project: pauldendulk/Mapsui Class Usage Examples

Public Methods

Method Description
Clone ( ) : LinearRing

Return a copy of this geometry

IsCCW ( ) : bool

Tests whether a ring is oriented counter-clockwise.

IsPointWithin ( System.Point p ) : bool

Returns true of the Point 'p' is within the instance of this ring

LinearRing ( ) : System

Initializes an instance of a LinearRing

LinearRing ( IEnumerable vertices ) : System

Initializes an instance of a LinearRing from a set of vertices

LinearRing ( IEnumerable points ) : System

Initializes an instance of a LinearRing

Method Details

Clone() public method

Return a copy of this geometry
public Clone ( ) : LinearRing
return LinearRing

IsCCW() public method

Tests whether a ring is oriented counter-clockwise.
public IsCCW ( ) : bool
return bool

IsPointWithin() public method

Returns true of the Point 'p' is within the instance of this ring
public IsPointWithin ( System.Point p ) : bool
p System.Point
return bool

LinearRing() public method

Initializes an instance of a LinearRing
public LinearRing ( ) : System
return System

LinearRing() public method

Initializes an instance of a LinearRing from a set of vertices
public LinearRing ( IEnumerable vertices ) : System
vertices IEnumerable
return System

LinearRing() public method

Initializes an instance of a LinearRing
public LinearRing ( IEnumerable points ) : System
points IEnumerable
return System