Click or drag to resize

MapRectangle Structure

Encapsulates a rectangle. Extends the bounding box with an orientation by defining the bounds of an object through the properties Left, Top, Right and Bottom.

Namespace:  Ptv.XServer.Controls.Map.Tools.Reprojection
Assembly:  Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax
public struct MapRectangle : IBoundingBox

The MapRectangle type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyMaxX
Returns the maximum x-coordinate.
Public propertyMaxY
Returns the maximum y-coordinate.
Public propertyMinX
Returns the minimum x-coordinate.
Public propertyMinY
Returns the minimum y-coordinate.
Top
Methods
  NameDescription
Public methodResize
Resizes the area covered by the rectangle. Creates and returns a new rectangle reflecting the changes.
Top
Fields
  NameDescription
Public fieldBottom
y-coordinate at the bottom
Public fieldLeft
x-coordinate of the left hand side.
Public fieldRight
x-coordinate of the right hand side.
Public fieldTop
y-coordinate at the top.
Top
Extension Methods
  NameDescription
Public Extension MethodApproximateBoundingBox(ICoordinateTransformation, Int32, Double)Overloaded.
Transforms a bounding box from one CRS to another.
(Defined by MapServiceExtensions.)
Public Extension MethodApproximateBoundingBox(String, String, Int32, Double)Overloaded.
Transforms a bounding box from one CRS to another.
(Defined by MapServiceExtensions.)
Public Extension MethodAspectRatio
Determines the aspect ratio, given a bounding box.
(Defined by MapServiceExtensions.)
Public Extension MethodEqualsAspect
Determines if two bounding boxes have the same aspect ratio.
(Defined by MapServiceExtensions.)
Public Extension MethodSize
Determines the size of a bounding box.
(Defined by MapServiceExtensions.)
Public Extension MethodStream
Streams the logical extents of a bounding box. This can be used check all values with a single Linq expression.
(Defined by WmtsMapServiceExtensions.)
Public Extension MethodToJson
Converts an object to a JSON string representation.
(Defined by JSONWriter.)
Public Extension MethodTransformBoundingBox(ICoordinateTransformation, Int32)Overloaded.
Transforms a bounding box from one CRS to another returning the resulting BoundingLines structure.
(Defined by MapServiceExtensions.)
Public Extension MethodTransformBoundingBox(String, String, Int32)Overloaded.
Transforms a bounding box from one CRS to another returning the resulting BoundingLines structure.
(Defined by MapServiceExtensions.)
Top
See Also