ATLAS Offline Software
Loading...
Searching...
No Matches
HVPoint3D Class Reference

#include <SbPolyhedron.h>

Inheritance diagram for HVPoint3D:
Collaboration diagram for HVPoint3D:

Public Member Functions

 HVPoint3D ()
 HVPoint3D (double x, double y, double z)
 HVPoint3D (const HVPoint3D &v)
 HVPoint3D (const SbVec3d &v)
HVPoint3Doperator= (const HVPoint3D &v)
HVPoint3Doperator= (const SbVec3d &v)

Friends

HVPoint3D operator+ (const HVPoint3D &v1, const HVPoint3D &v2)

Detailed Description

Definition at line 188 of file SbPolyhedron.h.

Constructor & Destructor Documentation

◆ HVPoint3D() [1/4]

HVPoint3D::HVPoint3D ( )

Definition at line 31 of file SbPolyhedron.cxx.

31: SbVec3d(0,0,0){}

◆ HVPoint3D() [2/4]

HVPoint3D::HVPoint3D ( double x,
double y,
double z )

Definition at line 32 of file SbPolyhedron.cxx.

32: SbVec3d(x,y,z){}
#define y
#define x
#define z

◆ HVPoint3D() [3/4]

HVPoint3D::HVPoint3D ( const HVPoint3D & v)

Definition at line 33 of file SbPolyhedron.cxx.

33: SbVec3d(v){}

◆ HVPoint3D() [4/4]

HVPoint3D::HVPoint3D ( const SbVec3d & v)

Definition at line 34 of file SbPolyhedron.cxx.

34: SbVec3d(v){}

Member Function Documentation

◆ operator=() [1/2]

HVPoint3D & HVPoint3D::operator= ( const HVPoint3D & v)

Definition at line 35 of file SbPolyhedron.cxx.

35 {
36 setValue(v[0],v[1],v[2]);
37 return *this;
38}

◆ operator=() [2/2]

HVPoint3D & HVPoint3D::operator= ( const SbVec3d & v)

Definition at line 39 of file SbPolyhedron.cxx.

39 {
40 setValue(v[0],v[1],v[2]);
41 return *this;
42}

◆ operator+

HVPoint3D operator+ ( const HVPoint3D & v1,
const HVPoint3D & v2 )
friend

Definition at line 43 of file SbPolyhedron.cxx.

43 {
44 return HVPoint3D(v1[0] + v2[0],v1[1] + v2[1],v1[2] + v2[2]);
45}

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