MapRectangle Structure |
Namespace: Ptv.XServer.Controls.Map.Tools.Reprojection
The MapRectangle type exposes the following members.
| Name | Description | |
|---|---|---|
| MapRectangle(IEnumerableLocation) |
Creates and initializes a MapRectangle instance.
| |
| MapRectangle(Location, Location) | Creates and initializes a MapRectangle instance. | |
| MapRectangle(Double, Double, Double, Double) | Creates and initializes a MapRectangle instance. |
| Name | Description | |
|---|---|---|
| MaxX | Returns the maximum x-coordinate. | |
| MaxY | Returns the maximum y-coordinate. | |
| MinX | Returns the minimum x-coordinate. | |
| MinY | Returns the minimum y-coordinate. |
| Name | Description | |
|---|---|---|
| Resize |
Resizes the area covered by the rectangle. Creates and returns a new rectangle reflecting the changes.
|
| Name | Description | |
|---|---|---|
| Bottom | y-coordinate at the bottom | |
| Left | x-coordinate of the left hand side. | |
| Right | x-coordinate of the right hand side. | |
| Top | y-coordinate at the top. |
| Name | Description | |
|---|---|---|
| ApproximateBoundingBox(ICoordinateTransformation, Int32, Double) | Overloaded.
Transforms a bounding box from one CRS to another.
(Defined by MapServiceExtensions.) | |
| ApproximateBoundingBox(String, String, Int32, Double) | Overloaded.
Transforms a bounding box from one CRS to another.
(Defined by MapServiceExtensions.) | |
| AspectRatio | Determines the aspect ratio, given a bounding box. (Defined by MapServiceExtensions.) | |
| EqualsAspect | Determines if two bounding boxes have the same aspect ratio. (Defined by MapServiceExtensions.) | |
| Size | Determines the size of a bounding box. (Defined by MapServiceExtensions.) | |
| Stream |
Streams the logical extents of a bounding box.
This can be used check all values with a single Linq expression.
(Defined by WmtsMapServiceExtensions.) | |
| ToJson | Converts an object to a JSON string representation. (Defined by JSONWriter.) | |
| TransformBoundingBox(ICoordinateTransformation, Int32) | Overloaded.
Transforms a bounding box from one CRS to another returning the resulting BoundingLines structure.
(Defined by MapServiceExtensions.) | |
| TransformBoundingBox(String, String, Int32) | Overloaded.
Transforms a bounding box from one CRS to another returning the resulting BoundingLines structure.
(Defined by MapServiceExtensions.) |