LatLongRange Class Reference

#include <c4d_spc.h>

详细描述

Holds latitude and longitude angles range. Private .

由于
R19

公共成员函数

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)

构造函数 & 析构函数文档编制

◆  LatLongRange() [1/2]

LatLongRange ( )
default

Default constructor.

◆  LatLongRange() [2/2]

LatLongRange ( const LatLongRange src )

Copy constructor.

参数
[in] src The source LatLongRange .

成员函数文档编制

◆  operator=()

LatLongRange & operator= ( const LatLongRange other )

Assigment operator.

参数
[in] other Another LatLongRange .

◆  SetFullRange()

void SetFullRange ( )

Makes the range conver the entire sphere (defaut values).

◆  InRange()

Bool InRange ( Float   lt ,
Float   lg  
) const

Checks if the given lat-long coordinate are within the range.

参数
[in] lt The latitude.
[in] lg The longitude.
返回
true if angle is in the current range, otherwise false .

Member Data Documentation

◆  _latMin

Float _latMin

Minimum latitude, default is -PI/2.

◆  _latMax

Float _latMax

Maximum latitude, default is PI/2.

◆  _longMin

Float _longMin

Minimum longitude, default is -PI.

◆  _longMax

Float _longMax

Maximum longitude, default is PI.