Loading...
Searching...
No Matches
VisibleRegion Class Reference

Trapezoid of the current viewport on the ground, in WGS84. More...

Public Member Functions

 VisibleRegion (this.topLeft, this.topRight, this.bottomLeft, this.bottomRight)
 Default constructor.
 

Public Attributes

GlobalPoint topLeft
 Top-left screen corner GlobalPoint.
 
GlobalPoint topRight
 Top-right screen corner GlobalPoint.
 
GlobalPoint bottomLeft
 Bottom-left screen corner GlobalPoint.
 
GlobalPoint bottomRight
 Bottom-right screen corner GlobalPoint.
 

Detailed Description

Trapezoid of the current viewport on the ground, in WGS84.

With tilt the shape is not a rectangle: near edge is closer to the camera. Corners are ray-cast onto the ground plane, same as LocationWindow screenPositionToGlobal.

Referenced from LocationWindow visibleRegion.

Definition at line 24 of file visible_region.dart.

Constructor & Destructor Documentation

◆ VisibleRegion()

VisibleRegion.VisibleRegion ( this. topLeft,
this. topRight,
this. bottomLeft,
this. bottomRight )

Default constructor.

Member Data Documentation

◆ bottomLeft

GlobalPoint VisibleRegion.bottomLeft

Bottom-left screen corner GlobalPoint.

Definition at line 38 of file visible_region.dart.

◆ bottomRight

GlobalPoint VisibleRegion.bottomRight

Bottom-right screen corner GlobalPoint.

Definition at line 42 of file visible_region.dart.

◆ topLeft

GlobalPoint VisibleRegion.topLeft

Top-left screen corner GlobalPoint.

Definition at line 30 of file visible_region.dart.

◆ topRight

GlobalPoint VisibleRegion.topRight

Top-right screen corner GlobalPoint.

Definition at line 34 of file visible_region.dart.


The documentation for this class was generated from the following file: