public class RightIsoscelesTrapezoid extends AbstractSolid
Modifier and Type | Field and Description |
---|---|
private IsoscelesTrapezoid |
_face |
private Hep3Vector[] |
_vertices |
private double |
_volume |
private double |
_zHalf |
name
Constructor and Description |
---|
RightIsoscelesTrapezoid(String name,
double bottomHalf,
double topHalf,
double yHalf,
double zHalf)
Fully qualified constructor
|
Modifier and Type | Method and Description |
---|---|
IsoscelesTrapezoid |
face()
Return the IsoscelesTrapezoid which forms the face of this solid
|
double |
getCubicVolume() |
Inside |
inside(Hep3Vector pos)
Determines whether a point lies within or outside of this solid.
|
String |
toString() |
double |
zMax() |
double |
zMin() |
getName
private double _zHalf
private IsoscelesTrapezoid _face
private Hep3Vector[] _vertices
private double _volume
public RightIsoscelesTrapezoid(String name, double bottomHalf, double topHalf, double yHalf, double zHalf)
name
- the name of this solidbottomHalf
- the half-width of the base dimensiontopHalf
- the half-width of the top dimensionyHalf
- the half-width in the y dimensionzHalf
- the half width in the z dimensionpublic double getCubicVolume()
public Inside inside(Hep3Vector pos)
pos
- the point to checkpublic double zMin()
public double zMax()
public IsoscelesTrapezoid face()
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.