SALOME - SMESH
R2 Class Reference

#include <Rn.h>

Collaboration diagram for R2:
Collaboration graph

Public Member Functions

 R2 ()
 R2 (R a, R b)
 R2 (R2 A, R2 B)
R2 operator+ (R2 P) const
R2 operator+= (R2 P)
R2 operator- (R2 P) const
R2 operator-= (R2 P)
R2 operator- () const
R2 operator+ () const
R operator, (R2 P) const
R operator^ (R2 P) const
R2 operator* (R c) const
R2 operator*= (R c)
R2 operator/ (R c) const
R2 operator/= (R c)
Roperator[] (int i)
R2 orthogonal ()

Data Fields

R x
R y

Friends

std::ostream & operator<< (std::ostream &f, const R2 &P)
std::istream & operator>> (std::istream &f, R2 &P)
std::ostream & operator<< (std::ostream &f, const R2 *P)
std::istream & operator>> (std::istream &f, R2 *P)
R2 operator* (R c, R2 P)

Detailed Description

Definition at line 89 of file Rn.h.


Constructor & Destructor Documentation

R2::R2 ( )

Definition at line 104 of file Rn.h.

Referenced by operator*(), operator+(), operator-(), operator/(), and orthogonal().

Here is the caller graph for this function:

R2::R2 ( R  a,
R  b 
)

Definition at line 105 of file Rn.h.

R2::R2 ( R2  A,
R2  B 
)

Definition at line 106 of file Rn.h.


Member Function Documentation

R2 R2::operator+ ( R2  P) const

Definition at line 108 of file Rn.h.

References R2(), x, and y.

Here is the call graph for this function:

R2 R2::operator+= ( R2  P)

Definition at line 109 of file Rn.h.

References x, and y.

R2 R2::operator- ( R2  P) const

Definition at line 110 of file Rn.h.

References R2(), x, and y.

Here is the call graph for this function:

R2 R2::operator-= ( R2  P)

Definition at line 111 of file Rn.h.

References x, and y.

R2 R2::operator- ( ) const

Definition at line 112 of file Rn.h.

References R2(), x, and y.

Here is the call graph for this function:

R2 R2::operator+ ( ) const

Definition at line 113 of file Rn.h.

R R2::operator, ( R2  P) const

Definition at line 114 of file Rn.h.

References x, and y.

R R2::operator^ ( R2  P) const

Definition at line 115 of file Rn.h.

References x, and y.

R2 R2::operator* ( R  c) const

Definition at line 116 of file Rn.h.

References R2(), x, and y.

Here is the call graph for this function:

R2 R2::operator*= ( R  c)

Definition at line 117 of file Rn.h.

References x, and y.

R2 R2::operator/ ( R  c) const

Definition at line 118 of file Rn.h.

References R2(), x, and y.

Here is the call graph for this function:

R2 R2::operator/= ( R  c)

Definition at line 119 of file Rn.h.

References x, and y.

R& R2::operator[] ( int  i)

Definition at line 120 of file Rn.h.

References x.

Definition at line 121 of file Rn.h.

References R2(), x, and y.

Here is the call graph for this function:


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  f,
const R2 P 
) [friend]

Definition at line 91 of file Rn.h.

std::istream& operator>> ( std::istream &  f,
R2 P 
) [friend]

Definition at line 93 of file Rn.h.

std::ostream& operator<< ( std::ostream &  f,
const R2 P 
) [friend]

Definition at line 96 of file Rn.h.

std::istream& operator>> ( std::istream &  f,
R2 P 
) [friend]

Definition at line 98 of file Rn.h.

R2 operator* ( R  c,
R2  P 
) [friend]

Definition at line 122 of file Rn.h.


Field Documentation

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines