Loading...
Searching...
No Matches

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.
 

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 23 of file NCVisibleRegion.h.

Method Documentation

◆ initWithTopLeft:topRight:bottomLeft:bottomRight:

- (nonnull instancetype) initWithTopLeft: (nonnull NCGlobalPoint *) topLeft
topRight: (nonnull NCGlobalPoint *) topRight
bottomLeft: (nonnull NCGlobalPoint *) bottomLeft
bottomRight: (nonnull NCGlobalPoint *) bottomRight 

Default constructor for class NCVisibleRegion.

◆ visibleRegionWithTopLeft:topRight:bottomLeft:bottomRight:

+ (nonnull instancetype) visibleRegionWithTopLeft: (nonnull NCGlobalPoint *) topLeft
topRight: (nonnull NCGlobalPoint *) topRight
bottomLeft: (nonnull NCGlobalPoint *) bottomLeft
bottomRight: (nonnull NCGlobalPoint *) bottomRight 

Factory method for class NCVisibleRegion.

Property Documentation

◆ bottomLeft

- (NCGlobalPoint*) bottomLeft
readnonatomicassign

Bottom-left screen corner GlobalPoint.

Definition at line 54 of file NCVisibleRegion.h.

◆ bottomRight

- (NCGlobalPoint*) bottomRight
readnonatomicassign

Bottom-right screen corner GlobalPoint.

Definition at line 59 of file NCVisibleRegion.h.

◆ topLeft

- (NCGlobalPoint*) topLeft
readnonatomicassign

Top-left screen corner GlobalPoint.

Definition at line 44 of file NCVisibleRegion.h.

◆ topRight

- (NCGlobalPoint*) topRight
readnonatomicassign

Top-right screen corner GlobalPoint.

Definition at line 49 of file NCVisibleRegion.h.


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