#include <PndSttGeomPoint.h>
Definition at line 18 of file PndSttGeomPoint.h.
PndSttGeomPoint::PndSttGeomPoint |
( |
| ) |
|
PndSttGeomPoint::~PndSttGeomPoint |
( |
| ) |
|
|
virtual |
void PndSttGeomPoint::Destroy |
( |
| ) |
|
|
private |
void PndSttGeomPoint::Draw |
( |
Double_t |
size = 0.5 , |
|
|
Int_t |
color = 1 |
|
) |
| const |
Definition at line 80 of file PndSttGeomPoint.cxx.
References Double_t, fX, fY, and fZ.
83 xstartx[2] = {
fX - size,
fX + size},
84 ystartx[2] = {
fX,
fX},
85 zstartx[2] = {
fX,
fX};
88 xstarty[2] = {
fY,
fY},
89 ystarty[2] = {
fY - size,
fY + size},
90 zstarty[2] = {
fY,
fY};
93 xstartz[2] = {
fZ,
fZ},
94 ystartz[2] = {
fZ,
fZ},
95 zstartz[2] = {
fZ - size,
fZ + size};
99 *xstart =
new TPolyLine3D(2, xstartx, xstarty, xstartz),
100 *ystart =
new TPolyLine3D(2, ystartx, ystarty, ystartz),
101 *zstart =
new TPolyLine3D(2, zstartx, zstarty, zstartz);
103 xstart->SetLineColor(color);
105 ystart->SetLineColor(color);
107 zstart->SetLineColor(color);
Double_t PndSttGeomPoint::GetErrorX |
( |
| ) |
const |
|
inline |
Double_t PndSttGeomPoint::GetErrorY |
( |
| ) |
const |
|
inline |
Double_t PndSttGeomPoint::GetErrorZ |
( |
| ) |
const |
|
inline |
Double_t PndSttGeomPoint::GetX |
( |
| ) |
const |
|
inline |
Double_t PndSttGeomPoint::GetY |
( |
| ) |
const |
|
inline |
Double_t PndSttGeomPoint::GetZ |
( |
| ) |
const |
|
inline |
Bool_t PndSttGeomPoint::Is2D |
( |
| ) |
const |
Definition at line 111 of file PndSttGeomPoint.cxx.
References Bool_t, fX, fY, fZ, GetX(), GetY(), and GetZ().
119 if (((firstPoint.GetX() <
fX) && (
fX < secondPoint.GetX())) ||
120 ((firstPoint.GetX() >
fX) && (
fX > secondPoint.GetX())))
125 if (((firstPoint.GetY() <
fY) && (
fY < secondPoint.GetY())) ||
126 ((firstPoint.GetY() >
fY) && (
fY > secondPoint.GetY())))
131 if (((firstPoint.GetZ() <
fZ) && (
fZ < secondPoint.GetZ())) ||
132 ((firstPoint.GetZ() >
fZ) && (
fZ > secondPoint.GetZ())))
137 if (betweenX && betweenY && betweenZ)
void PndSttGeomPoint::SetErrorX |
( |
Double_t |
newErrorX | ) |
|
|
inline |
void PndSttGeomPoint::SetErrorY |
( |
Double_t |
newErrorY | ) |
|
|
inline |
void PndSttGeomPoint::SetErrorZ |
( |
Double_t |
newErrorZ | ) |
|
|
inline |
void PndSttGeomPoint::SetX |
( |
Double_t |
newX | ) |
|
|
inline |
void PndSttGeomPoint::SetY |
( |
Double_t |
newY | ) |
|
|
inline |
void PndSttGeomPoint::SetZ |
( |
Double_t |
newZ | ) |
|
|
inline |
The documentation for this class was generated from the following files: