Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Direction_2< R, T > Class Template Reference

#include <cartesian_classes.h>

Inheritance diagram for Direction_2< R, T >:
Collaboration diagram for Direction_2< R, T >:

Public Types

typedef R_ R
 
typedef R::RT RT
 
typedef R::FT FT
 
typedef R::Vector_2_base RVector_2
 
typedef R::Direction_2_base RDirection_2
 

Public Member Functions

 Direction_2 ()
 
 Direction_2 (const CGAL::Direction_2< R > &d)
 
 Direction_2 (const RDirection_2 &d)
 
 Direction_2 (const RVector_2 &v)
 
 Direction_2 (const RT &x, const RT &y)
 
bool operator== (const CGAL::Direction_2< R > &d) const
 
bool operator!= (const CGAL::Direction_2< R > &d) const
 
bool operator>= (const CGAL::Direction_2< R > &d) const
 
bool operator<= (const CGAL::Direction_2< R > &d) const
 
bool operator> (const CGAL::Direction_2< R > &d) const
 
bool operator< (const CGAL::Direction_2< R > &d) const
 
bool counterclockwise_in_between (const CGAL::Direction_2< R > &d1, const CGAL::Direction_2< R > &d2) const
 
CGAL::Vector_2< Rvector () const
 
CGAL::Vector_2< Rto_vector () const
 
CGAL::Direction_2< Rtransform (const CGAL::Aff_transformation_2< R > &t) const
 
CGAL::Direction_2< Roperator- () const
 
RT delta (int i) const
 
RT dx () const
 
RT dy () const
 

Detailed Description

template<class R, class T = typename R::Rep_tag>
class Direction_2< R, T >

Definition at line 66 of file cartesian_classes.h.

Member Typedef Documentation

typedef R::FT FT

Definition at line 87 of file Direction_2.h.

typedef R_ R

Definition at line 85 of file Direction_2.h.

typedef R::Direction_2_base RDirection_2

Definition at line 89 of file Direction_2.h.

typedef R::RT RT

Definition at line 86 of file Direction_2.h.

typedef R::Vector_2_base RVector_2

Definition at line 88 of file Direction_2.h.

Constructor & Destructor Documentation

Direction_2 ( )
inline

Definition at line 92 of file Direction_2.h.

93  {}
Direction_2 ( const CGAL::Direction_2< R > &  d)
inline

Definition at line 95 of file Direction_2.h.

96  : RDirection_2((const RDirection_2&)d)
97  {}
const NT & d
R::Direction_2_base RDirection_2
Definition: Direction_2.h:89
Direction_2 ( const RDirection_2< R, T > &  d)
inline

Definition at line 100 of file Direction_2.h.

101  : RDirection_2(d)
102  {}
const NT & d
R::Direction_2_base RDirection_2
Definition: Direction_2.h:89
Direction_2 ( const RVector_2 v)
inline

Definition at line 105 of file Direction_2.h.

106  : RDirection_2(v)
107  {}
R::Direction_2_base RDirection_2
Definition: Direction_2.h:89
*********************************************************************Illinois Open Source License ****University of Illinois NCSA **Open Source License University of Illinois All rights reserved ****Developed free of to any person **obtaining a copy of this software and associated documentation to deal with the Software without including without limitation the rights to and or **sell copies of the and to permit persons to whom the **Software is furnished to do subject to the following this list of conditions and the following disclaimers ****Redistributions in binary form must reproduce the above **copyright this list of conditions and the following **disclaimers in the documentation and or other materials **provided with the distribution ****Neither the names of the Center for Simulation of Advanced the University of nor the names of its **contributors may be used to endorse or promote products derived **from this Software without specific prior written permission ****THE SOFTWARE IS PROVIDED AS WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **ARISING OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE v
Definition: roccomf90.h:20
Direction_2 ( const RT x,
const RT y 
)
inline

Definition at line 109 of file Direction_2.h.

110  : RDirection_2(x,y)
111  {}
void int int REAL REAL * y
Definition: read.cpp:74
R::Direction_2_base RDirection_2
Definition: Direction_2.h:89
void int int REAL * x
Definition: read.cpp:74

Member Function Documentation

bool counterclockwise_in_between ( const CGAL::Direction_2< R > &  d1,
const CGAL::Direction_2< R > &  d2 
) const
inline

Definition at line 138 of file Direction_2.h.

140  { return RDirection_2::counterclockwise_in_between(d1,d2); }
RT delta ( int  i) const
inline
RT dx ( ) const
inline

Definition at line 163 of file Direction_2.h.

References dx.

164  { return RDirection_2::dx(); }
NT dx
RT dy ( ) const
inline

Definition at line 167 of file Direction_2.h.

References dy.

168  { return RDirection_2::dy(); }
NT dy
bool operator!= ( const CGAL::Direction_2< R > &  d) const
inline

Definition at line 118 of file Direction_2.h.

References d.

119  { return !(*this == d); }
const NT & d
CGAL::Direction_2<R> operator- ( ) const
inline

Definition at line 155 of file Direction_2.h.

References operator-().

156  { return RDirection_2::operator-(); }
Point_2< R > operator-(const Origin &o, const Vector_2< R > &v)

Here is the call graph for this function:

bool operator< ( const CGAL::Direction_2< R > &  d) const
inline

Definition at line 134 of file Direction_2.h.

References d.

135  { return RDirection_2::operator<(d); }
const NT & d
bool operator<= ( const CGAL::Direction_2< R > &  d) const
inline

Definition at line 126 of file Direction_2.h.

References d.

127  { return RDirection_2::operator<=(d); }
const NT & d
bool operator== ( const CGAL::Direction_2< R > &  d) const
inline

Definition at line 114 of file Direction_2.h.

References operator==().

115  { return RDirection_2::operator==(d); }
CGAL_END_NAMESPACE CGAL_BEGIN_NAMESPACE bool operator==(const Origin &o, const Point_2< R > &p)
Definition: Point_2.h:239
const NT & d

Here is the call graph for this function:

bool operator> ( const CGAL::Direction_2< R > &  d) const
inline

Definition at line 130 of file Direction_2.h.

131  { return RDirection_2::operator>(d); }
const NT & d
bool operator>= ( const CGAL::Direction_2< R > &  d) const
inline

Definition at line 122 of file Direction_2.h.

123  { return RDirection_2::operator>=(d); }
const NT & d
CGAL::Vector_2<R> to_vector ( ) const
inline

Definition at line 147 of file Direction_2.h.

148  { return (CGAL::Vector_2<R>)RDirection_2::to_vector(); }
CGAL::Direction_2<R> transform ( const CGAL::Aff_transformation_2< R > &  t) const
inline

Definition at line 151 of file Direction_2.h.

152  { return RDirection_2::transform(t); }
CGAL::Vector_2<R> vector ( ) const
inline

Definition at line 143 of file Direction_2.h.

144  { return (CGAL::Vector_2<R>)RDirection_2::to_vector(); }

The documentation for this class was generated from the following files: