Package org.jlab.geom.component
Class TrackerStrip
java.lang.Object
org.jlab.geom.abs.AbstractComponent
org.jlab.geom.component.PrismaticComponent
org.jlab.geom.component.RectangularComponent
org.jlab.geom.component.TrackerStrip
- All Implemented Interfaces:
- Component,- Transformable,- Showable
A tracker strip. 
 
 This class is an alias of
 RectangularComponent.
- Author:
- devita
- 
Constructor SummaryConstructorsConstructorDescriptionTrackerStrip(int componentId, Point3D origin, Point3D end, double width, double thickness) Constructs a newTrackerStripfrom the given points.
- 
Method SummaryMethods inherited from class org.jlab.geom.component.PrismaticComponentgetDirection, getLength, getLine, getVolumeIntersection, onRotateX, onRotateY, onRotateZ, onTranslateXYZMethods inherited from class org.jlab.geom.abs.AbstractComponentaddVolumeEdge, addVolumePoint, addVolumeTriangleFace, getComponentId, getMidpoint, getNumVolumeEdges, getNumVolumePoints, getVolumeCrossSection, getVolumeEdge, getVolumePoint, getVolumeShape, rotateX, rotateY, rotateZ, show, toString, translateXYZ
- 
Constructor Details- 
TrackerStripConstructs a newTrackerStripfrom the given points.The line will be from the middle of the bottom face to the middle of the top face. The midpoint will be at the midpoint of the line. The direction vector will parallel the line. - Parameters:
- componentId- the id of the component
- origin-
- end-
- width-
- thickness-
 
 
- 
- 
Method Details- 
getTypeReturns "Tracker Strip".- Specified by:
- getTypein interface- Component
- Overrides:
- getTypein class- RectangularComponent
- Returns:
- "Tracker Strip"
 
- 
getWidthpublic double getWidth()Returns width of the strip- Returns:
- width
 
- 
getThicknesspublic double getThickness()Returns thickness of the strip- Returns:
- thickness
 
 
-