39 fAnnotation(annotation),
40 fDirection(direction),
41 fAutoPlacing(autoPlacing),
42 fXmid(xmid), fYmid(ymid), fZmid(zmid) {}
48 "An annotated line in the specified direction with tick marks at the"
49 "\nend. If autoPlacing is true it is required to be centred at the"
50 "\nfront, right, bottom corner of the world space, comfortably outside"
51 "\nthe existing bounding box/sphere so that existing objects do not"
52 "\nobscure it. Otherwise it is required to be drawn with mid-point at"
53 "\n(xmid, ymid, zmid)."
55 "\nThe auto placing algorithm might be:"
56 "\n x = xmin + (1 + comfort) * (xmax - xmin);"
57 "\n y = ymin - comfort * (ymax - ymin);"
58 "\n z = zmin + (1 + comfort) * (zmax - zmin);"
59 "\n if direction == x then (x - length,y,z) to (x,y,z);"
60 "\n if direction == y then (x,y,z) to (x,y + length,z);"
61 "\n if direction == z then (x,y,z - length) to (x,y,z);"
G4Scale(G4double length, const G4String &annotation="", Direction direction=x, G4bool autoPlacing=true, G4double xmid=0., G4double ymid=0., G4double zmid=0.)
static const G4String & GetGuidanceString()
static const G4String GuidanceString