Click or drag to resize

BoundingLines Structure

Simple structure describing a bounding box with the four line strings on the left, right, top and bottom side of the box. See remarks.

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 BoundingLines

The BoundingLines type exposes the following members.

Properties
  NameDescription
Public propertyAllCoordinatesValid
Checks if all coordinates of all bounding lines are valid.
Public propertyBottom
Bottom side; from left to right.
Public propertyBottomDeviation
The y-deviation of the line string on the bottom side.
Public propertyIsRectangular
Checks if the bounding box described by the bounding lines can be considered rectangular.
Public propertyLeft
Left side; from top to bottom.
Public propertyLeftDeviation
The x-deviation of the line string on the left side.
Public propertyLeftTop
Left top corner point.
Public propertyRight
Right side; from top to bottom.
Public propertyRightBottom
Right bottom corner point.
Public propertyRightDeviation
The x-deviation of the line string on the right side.
Public propertyTop
Top side; from left to right.
Public propertyTopDeviation
The y-deviation of the line string on the top side.
Top
Extension Methods
  NameDescription
Public Extension MethodApproximateBoundingBox
Utility extension that provides an approximation of a bounding box given a BoundingLines structure.
(Defined by MapServiceExtensions.)
Public Extension MethodToJson
Converts an object to a JSON string representation.
(Defined by JSONWriter.)
Top
Remarks
When transforming a bounding box from one CRS to another, the box may get distorted and can no longer be defined by corner points. We use this structure to describe the bounds. All line strings have the same length.
See Also