#include <mapbasic.h>
Public Types | |
typedef R_ | R |
typedef R::RT | RT |
typedef R::FT | FT |
typedef R::Vector_2_base | RVector_2 |
Public Member Functions | |
Vector_2 () | |
Vector_2 (Type t) | |
Vector_2 (Null_vector) | |
Vector_2 (Type a, Type b) | |
Type & | operator[] (const int i) |
const Type & | operator[] (const int &i) const |
Type | x () const |
Type | y () const |
Vector_2 & | operator+= (const Vector_2 &v) |
Assign operators. More... | |
Vector_2 & | operator-= (const Vector_2 &v) |
Vector_2 & | operator*= (const Type t) |
Vector_2 & | operator/= (const Type t) |
Vector_2 | operator+ (const Vector_2 &v) const |
Arithmatic operators. More... | |
Vector_2 | operator- (const Vector_2 &v) const |
Vector_2 | operator* (const Type t) const |
Vector_2 | operator/ (const Type t) const |
Type | operator* (const Vector_2 &v) const |
Vector_2 | operator- () const |
Type | squared_norm () const |
Type | norm () const |
Vector_2 & | normalize () |
Vector_2 & | neg () |
bool | operator== (const Vector_2 &p) const |
bool | operator!= (const Vector_2 &p) const |
bool | operator< (const Vector_2 &v) const |
bool | is_null () const |
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) | |
bool | operator== (const CGAL::Vector_2< R > &v) const |
bool | operator!= (const CGAL::Vector_2< R > &v) const |
bool | operator== (const Null_vector &v) const |
bool | operator!= (const Null_vector &v) 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 |
CGAL::Vector_2< R > | operator+ (const CGAL::Vector_2< R > &w) const |
CGAL::Vector_2< R > | operator- (const CGAL::Vector_2< R > &w) const |
CGAL::Vector_2< R > | operator- () 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 |
CGAL::Vector_2< R > | operator/ (const Quotient< RT > &q) const |
CGAL::Vector_2< R > | operator/ (const RT &c) 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 | |
Type | _x |
Type | _y |
Private Member Functions | |
Vector_2 (const CGAL::Point_2< R > &p) | |
Vector_2 (const CGAL::Direction_2< R > &d) | |
Friends | |
CGAL_FRIEND_INLINE CGAL::Vector_2< R > CGAL_SCOPE point_to_vector_conversion | CGAL_NULL_TMPL_ARGS (const CGAL::Point_2< R > &p) |
Definition at line 199 of file mapbasic.h.
typedef R::FT FT |
Definition at line 84 of file Vector_2.h.
typedef R_ R |
Definition at line 82 of file Vector_2.h.
typedef R::RT RT |
Definition at line 83 of file Vector_2.h.
typedef R::Vector_2_base RVector_2 |
Definition at line 85 of file Vector_2.h.
|
inline |
Definition at line 201 of file mapbasic.h.
Referenced by Vector_2< T >::operator*(), Vector_2< T >::operator+(), Vector_2< T >::operator-(), and Vector_2< T >::operator/().
|
inlineexplicit |
Definition at line 202 of file mapbasic.h.
|
inline |
Definition at line 203 of file mapbasic.h.
|
inline |
Definition at line 204 of file mapbasic.h.
|
inline |
Definition at line 92 of file Vector_2.h.
Definition at line 94 of file Vector_2.h.
Definition at line 96 of file Vector_2.h.
|
inline |
Definition at line 98 of file Vector_2.h.
Definition at line 100 of file Vector_2.h.
Definition at line 102 of file Vector_2.h.
|
inlineprivate |
Definition at line 201 of file Vector_2.h.
Definition at line 203 of file Vector_2.h.
|
inline |
Definition at line 143 of file Vector_2.h.
Referenced by Vector_2< T >::operator[]().
|
inline |
Definition at line 151 of file Vector_2.h.
|
inline |
Definition at line 189 of file Vector_2.h.
|
inline |
Definition at line 139 of file Vector_2.h.
|
inline |
Definition at line 130 of file Vector_2.h.
|
inline |
Definition at line 122 of file Vector_2.h.
|
inline |
Definition at line 126 of file Vector_2.h.
|
inline |
Definition at line 259 of file mapbasic.h.
|
inline |
Definition at line 246 of file mapbasic.h.
|
inline |
Definition at line 238 of file mapbasic.h.
|
inline |
Definition at line 240 of file mapbasic.h.
|
inline |
Definition at line 110 of file Vector_2.h.
|
inline |
Definition at line 118 of file Vector_2.h.
|
inline |
Definition at line 253 of file mapbasic.h.
|
inline |
Definition at line 167 of file Vector_2.h.
|
inline |
Definition at line 172 of file Vector_2.h.
|
inline |
Definition at line 176 of file Vector_2.h.
|
inline |
Definition at line 226 of file mapbasic.h.
|
inline |
Definition at line 230 of file mapbasic.h.
|
inline |
Definition at line 216 of file mapbasic.h.
|
inline |
Definition at line 155 of file Vector_2.h.
|
inline |
Definition at line 159 of file Vector_2.h.
|
inline |
Definition at line 163 of file Vector_2.h.
Definition at line 224 of file mapbasic.h.
|
inline |
Definition at line 233 of file mapbasic.h.
Definition at line 214 of file mapbasic.h.
|
inline |
Definition at line 180 of file Vector_2.h.
|
inline |
Definition at line 185 of file Vector_2.h.
|
inline |
Definition at line 228 of file mapbasic.h.
|
inline |
Definition at line 218 of file mapbasic.h.
|
inline |
Definition at line 256 of file mapbasic.h.
Referenced by Point_2< R >::operator<().
|
inline |
Definition at line 106 of file Vector_2.h.
|
inline |
Definition at line 114 of file Vector_2.h.
|
inline |
Definition at line 250 of file mapbasic.h.
|
inline |
Definition at line 147 of file Vector_2.h.
|
inline |
Definition at line 205 of file mapbasic.h.
|
inline |
Definition at line 206 of file mapbasic.h.
|
inline |
Definition at line 193 of file Vector_2.h.
|
inline |
Definition at line 236 of file mapbasic.h.
Referenced by FaceOffset_3::eval_angle(), and Vector_2< T >::normalize().
|
inline |
Definition at line 197 of file Vector_2.h.
|
inline |
Definition at line 133 of file Vector_2.h.
|
inline |
Definition at line 208 of file mapbasic.h.
Referenced by Segment_2_Segment_2_pair< R >::intersection_type(), Vector_2< T >::operator!=(), Point_2< R >::operator+(), Point_2< R >::operator+=(), Point_2< R >::operator-(), Point_2< R >::operator-=(), operator<<(), and Vector_2< T >::operator==().
|
inline |
Definition at line 136 of file Vector_2.h.
|
inline |
Definition at line 209 of file mapbasic.h.
Referenced by Segment_2_Segment_2_pair< R >::intersection_type(), Vector_2< T >::operator!=(), Point_2< R >::operator+(), Point_2< R >::operator+=(), Point_2< R >::operator-(), Point_2< R >::operator-=(), and Vector_2< T >::operator==().
|
friend |
|
protected |
Definition at line 262 of file mapbasic.h.
Referenced by Vector_2< T >::is_null(), Vector_2< T >::neg(), Vector_2< T >::normalize(), Vector_2< T >::operator*(), Vector_2< T >::operator*=(), Vector_2< T >::operator+(), Vector_2< T >::operator+=(), Vector_2< T >::operator-(), Vector_2< T >::operator-=(), Vector_2< T >::operator/(), Vector_2< T >::operator/=(), Vector_2< T >::operator<(), Vector_2< T >::operator[](), and Vector_2< T >::x().
|
protected |
Definition at line 262 of file mapbasic.h.
Referenced by Vector_2< T >::is_null(), Vector_2< T >::neg(), Vector_2< T >::normalize(), Vector_2< T >::operator*(), Vector_2< T >::operator*=(), Vector_2< T >::operator+(), Vector_2< T >::operator+=(), Vector_2< T >::operator-(), Vector_2< T >::operator-=(), Vector_2< T >::operator/(), Vector_2< T >::operator/=(), Vector_2< T >::operator<(), Vector_2< T >::operator[](), and Vector_2< T >::y().