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 32 of file SbPolyhedron.cxx.

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

◆ HVPoint3D() [2/4]

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

Definition at line 33 of file SbPolyhedron.cxx.

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

◆ HVPoint3D() [3/4]

HVPoint3D::HVPoint3D ( const HVPoint3D & v)

Definition at line 34 of file SbPolyhedron.cxx.

34: SbVec3d(v){}

◆ HVPoint3D() [4/4]

HVPoint3D::HVPoint3D ( const SbVec3d & v)

Definition at line 35 of file SbPolyhedron.cxx.

35: SbVec3d(v){}

Member Function Documentation

◆ operator=() [1/2]

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

Definition at line 36 of file SbPolyhedron.cxx.

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

◆ operator=() [2/2]

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

Definition at line 40 of file SbPolyhedron.cxx.

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

◆ operator+

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

Definition at line 44 of file SbPolyhedron.cxx.

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

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