LineString.LineString
Contents
[
Hide
]LineString()
Initializes a new instance of the LineString
class.
public LineString()
See Also
- class LineString
- namespace Aspose.Gis.Geometries
- assembly Aspose.GIS
LineString(IEnumerable<IPoint>)
Initializes a new instance of the LineString
class.
public LineString(IEnumerable<IPoint> collection)
Parameter | Type | Description |
---|---|---|
collection | IEnumerable`1 | The collection of points. |
Exceptions
exception | condition |
---|---|
ArgumentNullException | The argument is null . |
ArgumentException | Any point is empty (its IsEmpty is true ). |
See Also
- interface IPoint
- class LineString
- namespace Aspose.Gis.Geometries
- assembly Aspose.GIS
LineString(ILineString)
Initializes a new instance of the LineString
class.
public LineString(ILineString other)
Parameter | Type | Description |
---|---|---|
other | ILineString | The other line to copy data from. |
Exceptions
exception | condition |
---|---|
ArgumentNullException | The argument is null . |
See Also
- interface ILineString
- class LineString
- namespace Aspose.Gis.Geometries
- assembly Aspose.GIS