Class ShapeEnumerable
An implementation of a shape based on a coordinate enumerable.
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public class ShapeEnumerable : ShapeBase
Constructors
ShapeEnumerable(IEnumerable<Coordinate>)
Creates a new shape based on a coordinate enumerable.
Declaration
public ShapeEnumerable(IEnumerable<Coordinate> coordinates)
Parameters
|
IEnumerable<Coordinate>
coordinates
|
ShapeEnumerable(IEnumerable<Coordinate>, Boolean)
Creates a new shape based on a coordinate enumerable.
Declaration
public ShapeEnumerable(IEnumerable<Coordinate> coordinates, bool reversed)
Parameters
|
IEnumerable<Coordinate>
coordinates
|
|
System.Boolean
reversed
|
Properties
Count
Returns the number of coordinates.
Declaration
public override int Count { get; }
Property Value
|
System.Int32
|
Overrides
Item[Int32]
Gets or sets the coordinate.
Declaration
public override Coordinate this[int i] { get; }
Parameters
|
System.Int32
i
|
Property Value
|
Coordinate
|
Overrides
Methods
Reverse()
Returns the same shape but with the order of the coordinates reversed.
Declaration
public override ShapeBase Reverse()
Returns
|
ShapeBase
|