Contents
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 Summary
ConstructorsConstructorDescriptionTrackerStrip
(int componentId, Point3D origin, Point3D end, double width, double thickness) Constructs a newTrackerStrip
from the given points. -
Method Summary
Methods inherited from class org.jlab.geom.component.PrismaticComponent
getDirection, getLength, getLine, getVolumeIntersection, onRotateX, onRotateY, onRotateZ, onTranslateXYZ
Methods inherited from class org.jlab.geom.abs.AbstractComponent
addVolumeEdge, addVolumePoint, addVolumeTriangleFace, getComponentId, getMidpoint, getNumVolumeEdges, getNumVolumePoints, getVolumeCrossSection, getVolumeEdge, getVolumePoint, getVolumeShape, rotateX, rotateY, rotateZ, show, toString, translateXYZ
-
Constructor Details
-
TrackerStrip
Constructs a newTrackerStrip
from 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 componentorigin
-end
-width
-thickness
-
-
-
Method Details
-
getType
Returns "Tracker Strip".- Specified by:
getType
in interfaceComponent
- Overrides:
getType
in classRectangularComponent
- Returns:
- "Tracker Strip"
-
getWidth
public double getWidth()Returns width of the strip- Returns:
- width
-
getThickness
public double getThickness()Returns thickness of the strip- Returns:
- thickness
-