File indexing completed on 2026-04-09 07:48:53
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #include "OPTICKS_LOG.hh"
0012
0013 #include "SOpticksResource.hh"
0014 #include "spath.h"
0015
0016 #include "CSGGeometry.h"
0017
0018 int main(int argc, char** argv)
0019 {
0020 OPTICKS_LOG(argc, argv);
0021
0022 const char* cfbase0 = SOpticksResource::CFBase() ;
0023 const char* cfbase1 = spath::Resolve("$HOME/.opticks/GEOM/$GEOM") ;
0024 LOG(info)
0025 << "cfbase0 " << cfbase0
0026 << "cfbase1 " << cfbase1
0027 ;
0028
0029 CSGGeometry geom(cfbase1) ;
0030 geom.dump();
0031 LOG(info) << geom.desc();
0032
0033 return 0 ;
0034
0035 }
0036
0037
0038
0039