/usr/include/root/TBRIK.h is in libroot-graf3d-g3d-dev 5.34.30-0ubuntu8.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | // @(#)root/g3d:$Id$
// Author: Nenad Buncic 17/09/95
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
#ifndef ROOT_TBRIK
#define ROOT_TBRIK
////////////////////////////////////////////////////////////////////////////
// //
// TBRIK //
// //
// BRIK is a box. It has 3 parameters, the half length in x, y, and z //
// //
////////////////////////////////////////////////////////////////////////////
#ifndef ROOT_TShape
#include "TShape.h"
#endif
class TBRIK : public TShape {
protected:
Float_t fDx; // half length in x
Float_t fDy; // half length in y
Float_t fDz; // half length in z
virtual void SetPoints(Double_t * points) const;
public:
TBRIK();
TBRIK(const char *name, const char *title, const char *material, Float_t dx, Float_t dy, Float_t dz);
virtual ~TBRIK();
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py);
virtual const TBuffer3D &GetBuffer3D(Int_t reqSections) const;
Float_t GetDx() const {return fDx;}
Float_t GetDy() const {return fDy;}
Float_t GetDz() const {return fDz;}
virtual void Sizeof3D() const;
ClassDef(TBRIK,1) //TBRIK shape
};
#endif
|