#include <Csc2dTypes.h>
Public Member Functions | |
| CscPoint2dOriented (const CscPoint2d &point, double rotation) | |
| CscPoint2dOriented (double x=0, double y=0, double rotation=0) | |
| ~CscPoint2dOriented () override=default | |
| double | getRotation () const |
| void | setRotation (double rotation) |
| CscPoint2dOriented * | clone () const override |
| map< string, double > | toMap () const override |
| string | toString () const override |
Public Member Functions inherited from conscience_core::axiomes::CscPoint2d | |
| CscPoint2d (const CscPoint2d *fromPoint) | |
| CscPoint2d (double inX=0, double inY=0) | |
| virtual | ~CscPoint2d ()=default |
| CscPoint2d & | operator= (const CscPoint2d &other) |
| double | getX () const |
| double | getY () const |
| virtual | operator string () const |
| double | distanceWith (const CscPoint2d *point) |
| double | distanceWith (const CscPoint2d &point) |
| CscPoint2d | plus (const CscPoint2d &other) const |
| CscPoint2d | minus (const CscPoint2d &other) const |
| CscPoint2d | operator+ (const CscPoint2d &other) const |
| CscPoint2d | operator- (const CscPoint2d &other) const |
| bool | isInside (const CscRect2d &rectangle) const |
Static Public Member Functions | |
| static CscPoint2dOriented * | zero () |
Static Public Member Functions inherited from conscience_core::axiomes::CscPoint2d | |
| static CscPoint2d * | zero () |
Public Attributes | |
| double | rotation |
Public Attributes inherited from conscience_core::axiomes::CscPoint2d | |
| double | x |
| double | y |
| conscience_core::axiomes::CscPoint2dOriented::CscPoint2dOriented | ( | const CscPoint2d & | point, |
| double | rotation | ||
| ) |
| conscience_core::axiomes::CscPoint2dOriented::CscPoint2dOriented | ( | double | x = 0, |
| double | y = 0, |
||
| double | rotation = 0 |
||
| ) |
|
overridedefault |
|
overridevirtual |
Reimplemented from conscience_core::axiomes::CscPoint2d.
| double conscience_core::axiomes::CscPoint2dOriented::getRotation | ( | ) | const |
| void conscience_core::axiomes::CscPoint2dOriented::setRotation | ( | double | rotation | ) |
|
overridevirtual |
{x:number, y: number}
Reimplemented from conscience_core::axiomes::CscPoint2d.
|
overridevirtual |
Reimplemented from conscience_core::axiomes::CscPoint2d.
|
static |
return a NEW oriented point initialized with 0 values
| double conscience_core::axiomes::CscPoint2dOriented::rotation |
In radians, from PI (left) to -PI (right)