Loading...
Searching...
No Matches
com.navigine.idl.java.VisibleRegion Class Reference

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

Public Member Functions

 VisibleRegion (GlobalPoint topLeft, GlobalPoint topRight, GlobalPoint bottomLeft, GlobalPoint bottomRight)
 Default constructor for class VisibleRegion.
 
GlobalPoint getTopLeft ()
 Top-left screen corner GlobalPoint.
 
GlobalPoint getTopRight ()
 Top-right screen corner GlobalPoint.
 
GlobalPoint getBottomLeft ()
 Bottom-left screen corner GlobalPoint.
 
GlobalPoint getBottomRight ()
 Bottom-right screen corner GlobalPoint.
 
String toString ()
 

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 20 of file VisibleRegion.java.

Constructor & Destructor Documentation

◆ VisibleRegion()

com.navigine.idl.java.VisibleRegion.VisibleRegion ( GlobalPoint topLeft,
GlobalPoint topRight,
GlobalPoint bottomLeft,
GlobalPoint bottomRight )
inline

Default constructor for class VisibleRegion.

Definition at line 34 of file VisibleRegion.java.

Member Function Documentation

◆ getBottomLeft()

GlobalPoint com.navigine.idl.java.VisibleRegion.getBottomLeft ( )
inline

Bottom-left screen corner GlobalPoint.

Returns

Definition at line 62 of file VisibleRegion.java.

◆ getBottomRight()

GlobalPoint com.navigine.idl.java.VisibleRegion.getBottomRight ( )
inline

Bottom-right screen corner GlobalPoint.

Returns

Definition at line 69 of file VisibleRegion.java.

◆ getTopLeft()

GlobalPoint com.navigine.idl.java.VisibleRegion.getTopLeft ( )
inline

Top-left screen corner GlobalPoint.

Returns

Definition at line 48 of file VisibleRegion.java.

◆ getTopRight()

GlobalPoint com.navigine.idl.java.VisibleRegion.getTopRight ( )
inline

Top-right screen corner GlobalPoint.

Returns

Definition at line 55 of file VisibleRegion.java.

◆ toString()

String com.navigine.idl.java.VisibleRegion.toString ( )
inline

Definition at line 74 of file VisibleRegion.java.


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