クラス rcsc::Sector2D

2D sector region(OUGI-GATA) class [詳細]

#include <sector_2d.h>

すべてのメンバ一覧

Public メソッド

 Sector2D (const Vector2D &c, const double &min_r, const double &max_r, const AngleDeg &start, const AngleDeg &end)
 constructor with all variables
const Sector2Dassign (const Vector2D &c, const double &min_r, const double &max_r, const AngleDeg &start, const AngleDeg &end)
 assign new value
const Vector2Dcenter () const
 get the center point
const double & radiusMin () const
 get the small side radius
const double & radiusMax () const
 get the big side radius
const AngleDegangleLeftStart () const
 get the left start angle
const AngleDegangleRightEnd () const
 get the right end angle
bool contains (const Vector2D &point) const
 check if point is within this region
double area () const
 calculate the area of this region
double getCircumferenceMin () const
 get smaller side circumference ENSYUU NO NAGASA
double getCircumferenceMax () const


説明

2D sector region(OUGI-GATA) class


コンストラクタとデストラクタ

rcsc::Sector2D::Sector2D ( const Vector2D c,
const double &  min_r,
const double &  max_r,
const AngleDeg start,
const AngleDeg end 
)

constructor with all variables

引数:
c center point
min_r smaller radius
max_r bigger radius
start start angle(turn clockwise)
end end angle(turn clockwise)


関数

const Sector2D & rcsc::Sector2D::assign ( const Vector2D c,
const double &  min_r,
const double &  max_r,
const AngleDeg start,
const AngleDeg end 
)

assign new value

引数:
c center point
min_r smaller radius
max_r bigger radius
start start angle(turn clockwise)
end end angle(turn clockwise)

const Vector2D& rcsc::Sector2D::center (  )  const [inline]

get the center point

戻り値:
const reference to the member variable

const double& rcsc::Sector2D::radiusMin (  )  const [inline]

get the small side radius

戻り値:
const reference to the member variable

const double& rcsc::Sector2D::radiusMax (  )  const [inline]

get the big side radius

戻り値:
const reference to the member variable

const AngleDeg& rcsc::Sector2D::angleLeftStart (  )  const [inline]

get the left start angle

戻り値:
const reference to the member variable

const AngleDeg& rcsc::Sector2D::angleRightEnd (  )  const [inline]

get the right end angle

戻り値:
const reference to the member variable

bool rcsc::Sector2D::contains ( const Vector2D point  )  const [inline]

check if point is within this region

引数:
point considered point
戻り値:
true or false

double rcsc::Sector2D::area (  )  const

calculate the area of this region

戻り値:
the value of area

double rcsc::Sector2D::getCircumferenceMin (  )  const [inline]

get smaller side circumference ENSYUU NO NAGASA

戻り値:
the length of circumference

double rcsc::Sector2D::getCircumferenceMax (  )  const [inline]

get bigger side circumference ENSYUU NO NAGASA

戻り値:
the length of circumference


このクラスの説明は次のファイルから生成されました:
librcscに対してThu May 1 15:41:26 2008に生成されました。  doxygen 1.5.0