Contents
Class SiStrip
java.lang.Object
org.jlab.geom.abs.AbstractComponent
org.jlab.geom.component.PrismaticComponent
org.jlab.geom.component.RectangularComponent
org.jlab.geom.component.SiStrip
- All Implemented Interfaces:
Component
,Transformable
,Showable
A silicon strip.
This class is an alias of
RectangularComponent
.
- Author:
- jnhankins
-
Constructor Summary
Constructors -
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
-
SiStrip
public SiStrip(int componentId, Point3D p0, Point3D p1, Point3D p2, Point3D p3, Point3D p4, Point3D p5, Point3D p6, Point3D p7) Constructs a newSiStrip
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 componentp0
- 1st point of the bottom facep1
- 2nd point of the bottom facep2
- 3rd point of the bottom facep3
- 4th point of the bottom facep4
- 1st point of the top facep5
- 2nd point of the top facep6
- 3rd point of the top facep7
- 4th point of the top face
-
-
Method Details
-
getType
Returns "Silicon Strip".- Specified by:
getType
in interfaceComponent
- Overrides:
getType
in classRectangularComponent
- Returns:
- "Silicon Strip"
-