#include <c4d_spc.h>
Holds latitude and longitude angles range. Private.
Public Member Functions | |
LatLongRange & | operator= (const LatLongRange &other) |
void | SetFullRange () |
Bool | InRange (Float lt, Float lg) const |
Public Attributes | |
Float | _latMin |
Float | _latMax |
Float | _longMin |
Float | _longMax |
Constructors | |
LatLongRange ()=default | |
LatLongRange (const LatLongRange &src) | |
|
default |
Default constructor.
LatLongRange | ( | const LatLongRange & | src | ) |
Copy constructor.
[in] | src | The source LatLongRange. |
LatLongRange& operator= | ( | const LatLongRange & | other | ) |
Assigment operator.
[in] | other | Another LatLongRange. |
void SetFullRange | ( | ) |
Makes the range conver the entire sphere (defaut values).
Checks if the given lat-long coordinate are within the range.
[in] | lt | The latitude. |
[in] | lg | The longitude. |
Float _latMin |
Minimum latitude, default is -PI/2.
Float _latMax |
Maximum latitude, default is PI/2.
Float _longMin |
Minimum longitude, default is -PI.
Float _longMax |
Maximum longitude, default is PI.