Constructor Rectangle
Rectangle(Double, Double, Double, Double, SpatialContext)
A simple constructor without normalization / validation.
Declaration
public Rectangle(double minX, double maxX, double minY, double maxY, SpatialContext ctx)
Parameters
Type | Name | Description |
---|---|---|
System.Double | minX | |
System.Double | maxX | |
System.Double | minY | |
System.Double | maxY | |
SpatialContext | ctx |
Rectangle(IPoint, IPoint, SpatialContext)
A convenience constructor which pulls out the coordinates.
Declaration
public Rectangle(IPoint lowerLeft, IPoint upperRight, SpatialContext ctx)
Parameters
Type | Name | Description |
---|---|---|
IPoint | lowerLeft | |
IPoint | upperRight | |
SpatialContext | ctx |
Rectangle(IRectangle, SpatialContext)
Copy constructor.
Declaration
public Rectangle(IRectangle r, SpatialContext ctx)
Parameters
Type | Name | Description |
---|---|---|
IRectangle | r | |
SpatialContext | ctx |