#include <mapbasic.h>
Public Types | |
typedef R_ | R |
typedef R::RT | RT |
typedef R::FT | FT |
typedef R::Point_2_base | RPoint_2 |
typedef R::Vector_2_base | RVector_2 |
Public Member Functions | |
Point_2 () | |
Point_2 (Origin) | |
Point_2 (T t) | |
Point_2 (T a, T b) | |
T & | operator[] (const int i) |
const T & | operator[] (const int i) const |
Point_2 & | operator+= (const Vector_2< T > &v) |
Assign operators. More... | |
Point_2 & | operator-= (const Vector_2< T > &v) |
Point_2 | operator+ (const Vector_2< T > &v) const |
Arithmatic operators. More... | |
Point_2 | operator- (const Vector_2< T > &v) const |
Vector_2< T > | operator- (const Point_2 &v) const |
bool | operator== (const Point_2 &p) const |
bool | operator!= (const Point_2 &p) const |
bool | operator< (const Point_2 &v) const |
bool | is_origin () const |
Point_2 () | |
Point_2 (const Origin &o) | |
Point_2 (const CGAL::Point_2< R > &p) | |
Point_2 (const RPoint_2 &p) | |
Point_2 (const RT &hx, const RT &hy) | |
Point_2 (const RT &hx, const RT &hy, const RT &hw) | |
bool | operator== (const CGAL::Point_2< R > &p) const |
bool | operator!= (const CGAL::Point_2< R > &p) const |
RT | hx () const |
RT | hy () const |
RT | hw () const |
FT | x () const |
FT | y () const |
RT | homogeneous (int i) const |
FT | cartesian (int i) const |
FT | operator[] (int i) const |
int | dimension () const |
Bbox_2 | bbox () const |
CGAL::Point_2< R > | transform (const CGAL::Aff_transformation_2< R > &t) const |
Private Member Functions | |
Point_2 (const RVector_2 &v) | |
Friends | |
CGAL_FRIEND_INLINE CGAL::Point_2< R > CGAL_SCOPE vector_to_point_conversion | CGAL_NULL_TMPL_ARGS (const CGAL::Vector_2< R > &v) |
Additional Inherited Members | |
Protected Types inherited from Vector_2< T > | |
typedef R_ | R |
typedef R::RT | RT |
typedef R::FT | FT |
typedef R::Vector_2_base | RVector_2 |
Protected Member Functions inherited from Vector_2< T > | |
Vector_2 () | |
Vector_2 (Tt) | |
Vector_2 (Null_vector) | |
Vector_2 (Ta, Tb) | |
Vector_2 () | |
Vector_2 (const CGAL::Vector_2< R > &v) | |
Vector_2 (const RVector_2 &v) | |
Vector_2 (const Null_vector &v) | |
Vector_2 (const RT &x, const RT &y) | |
Vector_2 (const RT &x, const RT &y, const RT &w) | |
T & | operator[] (const int i) |
const T & | operator[] (const int &i) const |
FT | operator[] (int i) const |
T | x () const |
FT | x () const |
T | y () const |
FT | y () const |
Vector_2 & | operator+= (const Vector_2 &v) |
Assign operators. More... | |
Vector_2 & | operator-= (const Vector_2 &v) |
Vector_2 & | operator*= (const Tt) |
Vector_2 & | operator/= (const Tt) |
Vector_2 | operator+ (const Vector_2 &v) const |
Arithmatic operators. More... | |
CGAL::Vector_2< R > | operator+ (const CGAL::Vector_2< R > &w) const |
Vector_2 | operator- (const Vector_2 &v) const |
Vector_2 | operator- () const |
CGAL::Vector_2< R > | operator- (const CGAL::Vector_2< R > &w) const |
CGAL::Vector_2< R > | operator- () const |
Vector_2 | operator* (const Tt) const |
T | operator* (const Vector_2 &v) const |
FT | operator* (const CGAL::Vector_2< R > &w) const |
CGAL::Vector_2< R > | operator* (const RT &c) const |
CGAL::Vector_2< R > | operator* (const Quotient< RT > &q) const |
Vector_2 | operator/ (const Tt) const |
CGAL::Vector_2< R > | operator/ (const Quotient< RT > &q) const |
CGAL::Vector_2< R > | operator/ (const RT &c) const |
T | squared_norm () const |
T | norm () const |
Vector_2 & | normalize () |
Vector_2 & | neg () |
bool | operator== (const Vector_2 &p) const |
bool | operator== (const CGAL::Vector_2< R > &v) const |
bool | operator== (const Null_vector &v) const |
bool | operator!= (const Vector_2 &p) const |
bool | operator!= (const CGAL::Vector_2< R > &v) const |
bool | operator!= (const Null_vector &v) const |
bool | operator< (const Vector_2 &v) const |
bool | is_null () const |
RT | hx () const |
RT | hy () const |
RT | hw () const |
RT | homogeneous (int i) const |
FT | cartesian (int i) const |
int | dimension () const |
CGAL::Direction_2< R > | direction () const |
CGAL::Vector_2< R > | perpendicular (const Orientation &o) const |
CGAL::Vector_2< R > | transform (const CGAL::Aff_transformation_2< R > &t) const |
Protected Attributes inherited from Vector_2< T > | |
T | _x |
T | _y |
Definition at line 274 of file mapbasic.h.
|
inline |
Definition at line 276 of file mapbasic.h.
Referenced by Point_2< R >::operator+(), and Point_2< R >::operator-().
Definition at line 277 of file mapbasic.h.
|
inlineexplicit |
Definition at line 278 of file mapbasic.h.
|
inline |
Definition at line 279 of file mapbasic.h.
Definition at line 181 of file Point_2.h.
|
inline |
|
inline |
Definition at line 154 of file Point_2.h.
Referenced by Point_2< R >::operator[]().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 308 of file mapbasic.h.
|
inline |
|
inline |
Definition at line 302 of file mapbasic.h.
Definition at line 294 of file mapbasic.h.
Definition at line 296 of file mapbasic.h.
Definition at line 288 of file mapbasic.h.
|
inline |
Definition at line 305 of file mapbasic.h.
|
inline |
Definition at line 115 of file Point_2.h.
|
inline |
Definition at line 299 of file mapbasic.h.
|
inline |
Definition at line 280 of file mapbasic.h.
|
inline |
Definition at line 281 of file mapbasic.h.
|
inline |
|
inline |
Definition at line 139 of file Point_2.h.
Referenced by Segment_2_Segment_2_pair< R >::intersection_type(), Point_2< R >::operator!=(), Point_2< R >::operator-(), and Point_2< R >::operator==().
|
inline |
Definition at line 144 of file Point_2.h.
Referenced by Segment_2_Segment_2_pair< R >::intersection_type(), Point_2< R >::operator!=(), Point_2< R >::operator-(), and Point_2< R >::operator==().
|
friend |