Trapezoid of the current viewport on the ground, in WGS84. More...
#include <com/navigine/idl/objc/NCVisibleRegion.h>
Inherits NSObject.
Instance Methods | |
| (nonnull instancetype) | - initWithTopLeft:topRight:bottomLeft:bottomRight: |
| Default constructor for class NCVisibleRegion. | |
Class Methods | |
| (nonnull instancetype) | + visibleRegionWithTopLeft:topRight:bottomLeft:bottomRight: |
| Factory method for class NCVisibleRegion. | |
Properties | |
| NCGlobalPoint * | topLeft |
| Top-left screen corner GlobalPoint. | |
| NCGlobalPoint * | topRight |
| Top-right screen corner GlobalPoint. | |
| NCGlobalPoint * | bottomLeft |
| Bottom-left screen corner GlobalPoint. | |
| NCGlobalPoint * | bottomRight |
| Bottom-right screen corner GlobalPoint. | |
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 23 of file NCVisibleRegion.h.
| - (nonnull instancetype) initWithTopLeft: | (nonnull NCGlobalPoint *) | topLeft | |
| topRight: | (nonnull NCGlobalPoint *) | topRight | |
| bottomLeft: | (nonnull NCGlobalPoint *) | bottomLeft | |
| bottomRight: | (nonnull NCGlobalPoint *) | bottomRight |
Default constructor for class NCVisibleRegion.
| + (nonnull instancetype) visibleRegionWithTopLeft: | (nonnull NCGlobalPoint *) | topLeft | |
| topRight: | (nonnull NCGlobalPoint *) | topRight | |
| bottomLeft: | (nonnull NCGlobalPoint *) | bottomLeft | |
| bottomRight: | (nonnull NCGlobalPoint *) | bottomRight |
Factory method for class NCVisibleRegion.
|
readnonatomicassign |
Bottom-left screen corner GlobalPoint.
Definition at line 54 of file NCVisibleRegion.h.
|
readnonatomicassign |
Bottom-right screen corner GlobalPoint.
Definition at line 59 of file NCVisibleRegion.h.
|
readnonatomicassign |
Top-left screen corner GlobalPoint.
Definition at line 44 of file NCVisibleRegion.h.
|
readnonatomicassign |
Top-right screen corner GlobalPoint.
Definition at line 49 of file NCVisibleRegion.h.