SALOME - SMESH
R3 Class Reference

#include <Rn.h>

Inheritance diagram for R3:
Inheritance graph
Collaboration diagram for R3:
Collaboration graph

Public Member Functions

 R3 ()
 
 R3 (R a, R b, R c)
 
 R3 (R3 A, R3 B)
 
 R3 (gp_Pnt P)
 
 R3 (gp_Vec V)
 
 R3 (gp_Dir P)
 
R3 operator+ (R3 P) const
 
R3 operator+= (R3 P)
 
R3 operator- (R3 P) const
 
R3 operator-= (R3 P)
 
R3 operator- () const
 
R3 operator+ () const
 
R operator, (R3 P) const
 
R3 operator^ (R3 P) const
 
R3 operator* (R c) const
 
R3 operator*= (R c)
 
R3 operator/ (R c) const
 
R3 operator/= (R c)
 
Roperator[] (int i)
 
R3 operator= (gp_Pnt P)
 
R3 operator= (gp_Dir P)
 
bool DansPave (R3 &xyzMin, R3 &xyzMax)
 

Data Fields

R x
 
R y
 
R z
 

Friends

std::ostream & operator<< (std::ostream &f, const R3 &P)
 
std::istream & operator>> (std::istream &f, R3 &P)
 
std::ostream & operator<< (std::ostream &f, const R3 *P)
 
std::istream & operator>> (std::istream &f, R3 *P)
 
R3 operator* (R c, R3 P)
 
gp_Pnt gp_pnt (R3 xyz)
 
gp_Dir gp_dir (R3 xyz)
 

Detailed Description

Definition at line 126 of file Rn.h.

Constructor & Destructor Documentation

◆ R3() [1/6]

R3::R3 ( )

Definition at line 141 of file Rn.h.

◆ R3() [2/6]

R3::R3 ( R  a,
R  b,
R  c 
)

Definition at line 142 of file Rn.h.

◆ R3() [3/6]

R3::R3 ( R3  A,
R3  B 
)

Definition at line 143 of file Rn.h.

◆ R3() [4/6]

R3::R3 ( gp_Pnt  P)

Definition at line 145 of file Rn.h.

◆ R3() [5/6]

R3::R3 ( gp_Vec  V)

Definition at line 146 of file Rn.h.

◆ R3() [6/6]

R3::R3 ( gp_Dir  P)

Definition at line 147 of file Rn.h.

Member Function Documentation

◆ operator+() [1/2]

R3 R3::operator+ ( R3  P) const

Definition at line 149 of file Rn.h.

References x, y, and z.

◆ operator+=()

R3 R3::operator+= ( R3  P)

Definition at line 150 of file Rn.h.

References x, y, and z.

◆ operator-() [1/2]

R3 R3::operator- ( R3  P) const

Definition at line 151 of file Rn.h.

References x, y, and z.

◆ operator-=()

R3 R3::operator-= ( R3  P)

Definition at line 152 of file Rn.h.

References x, y, and z.

◆ operator-() [2/2]

R3 R3::operator- ( ) const

Definition at line 153 of file Rn.h.

◆ operator+() [2/2]

R3 R3::operator+ ( ) const

Definition at line 154 of file Rn.h.

◆ operator,()

R R3::operator, ( R3  P) const

Definition at line 155 of file Rn.h.

References x, y, and z.

◆ operator^()

R3 R3::operator^ ( R3  P) const

Definition at line 156 of file Rn.h.

References x, y, and z.

◆ operator*()

R3 R3::operator* ( R  c) const

Definition at line 157 of file Rn.h.

◆ operator*=()

R3 R3::operator*= ( R  c)

Definition at line 158 of file Rn.h.

◆ operator/()

R3 R3::operator/ ( R  c) const

Definition at line 159 of file Rn.h.

◆ operator/=()

R3 R3::operator/= ( R  c)

Definition at line 160 of file Rn.h.

◆ operator[]()

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

Definition at line 161 of file Rn.h.

◆ operator=() [1/2]

R3 R3::operator= ( gp_Pnt  P)

Definition at line 164 of file Rn.h.

◆ operator=() [2/2]

R3 R3::operator= ( gp_Dir  P)

Definition at line 165 of file Rn.h.

◆ DansPave()

bool R3::DansPave ( R3 xyzMin,
R3 xyzMax 
)

Definition at line 171 of file Rn.h.

References x, y, and z.

Friends And Related Function Documentation

◆ operator<< [1/2]

std::ostream& operator<< ( std::ostream &  f,
const R3 P 
)
friend

Definition at line 128 of file Rn.h.

◆ operator>> [1/2]

std::istream& operator>> ( std::istream &  f,
R3 P 
)
friend

Definition at line 130 of file Rn.h.

◆ operator<< [2/2]

std::ostream& operator<< ( std::ostream &  f,
const R3 P 
)
friend

Definition at line 133 of file Rn.h.

◆ operator>> [2/2]

std::istream& operator>> ( std::istream &  f,
R3 P 
)
friend

Definition at line 135 of file Rn.h.

◆ operator*

R3 operator* ( R  c,
R3  P 
)
friend

Definition at line 162 of file Rn.h.

◆ gp_pnt

gp_Pnt gp_pnt ( R3  xyz)
friend

Definition at line 167 of file Rn.h.

◆ gp_dir

gp_Dir gp_dir ( R3  xyz)
friend

Definition at line 169 of file Rn.h.

Field Documentation

◆ x

◆ y

◆ z