Uses of Class
org.jlab.geom.prim.Vector3D
Packages that use Vector3D
Package
Description
-
Uses of Vector3D in org.jlab.geom
Methods in org.jlab.geom that return Vector3DConstructors in org.jlab.geom with parameters of type Vector3DModifierConstructorDescriptionDetectorHit(DetectorId detectorId, int sectorId, int superlayerId, int layerId, int componentId, Point3D hitPosition, Vector3D direction) -
Uses of Vector3D in org.jlab.geom.component
Methods in org.jlab.geom.component that return Vector3DModifier and TypeMethodDescriptionPrismaticComponent.getDirection()Returns a vector pointing from themidpointof this component towards the readout end of the component (eg towards the PMT of a scintillator). -
Uses of Vector3D in org.jlab.geom.detector.alert.AHDC
Methods in org.jlab.geom.detector.alert.AHDC that return Vector3DModifier and TypeMethodDescriptionConcaveComponent.getDirection()Returns a vector pointing from themidpointof this component towards the readout end of the component (e.g. towards the PMT of a scintillator). -
Uses of Vector3D in org.jlab.geom.prim
Methods in org.jlab.geom.prim that return Vector3DModifier and TypeMethodDescriptionVector3D.add(double a) Adds the given vector to this vector.Vector3D.asUnit()Create unit vector from thisArc3D.bisect()Vector3D.clone()Returns a new instance of this vector.Constructs a newVector3Dcontaining the cross product of this vector and the given vector.Line3D.direction()direction vector from begin to end pointVector3D.divide(double a) Arc3D.endVector()Constructs a newVector3Dfrom the center point of the circle of the arc to the end point on the arc.static Vector3DVector3D.fromSpherical(double r, double phi, double theta) Creates a new Vector3D instance from spherical coordinatesRegion3D.getDimension()Sphere3D.getNormal(double x, double y, double z) Vector3D.multiply(double a) Arc3D.normal()Returns the vector normal to the circle of the arc.Helix3D.normal()Returns the direction vector of the central axis.Plane3D.normal()Returns the normal of this plane.Sector3D.normal()Trap3D.normal()Constructs the normal vector to the trapezoid plane, defined from the first three pointsTriangle3D.normal()Constructs the unit vector normal to the plane of thisTriangle3D.Line3D.originDir()Arc3D.originVector()Constructs a newVector3Dfrom the center point of the cirlce of the arc to the origin point on the arc.Line3D.projection(Vector3D v) projection of a point onto this lineVector3D.projection(Vector3D v) Projection of this vector onto another vectorSubtracts the given vector from this vectorVector3D.subtract(double a) Line3D.toVector()Returns a vector from the origin point to the end point.Point3D.toVector3D()Constructs a newVector3Dusing this points x, y, and z coordinates.Point3D.vectorFrom(double x, double y, double z) Constructs a newVector3Dpoint from the point at the given coordinates to this point (this.x-x, this.y-y, this.z-z)Point3D.vectorFrom(Point3D point) Constructs a newVector3Dpointing from the given point to this point (equivalent to (this.x-point.x, this.y-point.y, this.z-point.z).Point3D.vectorTo(double x, double y, double z) Constructs a newVector3Dpoint from this point to the point at the given coordinates (x-this.x, y-this.y, z-this.z)).Constructs a newVector3Dpointing from this point to the given point (equivalent to (point.x-this.x, point.y-this.y, point.z-this.z)).Methods in org.jlab.geom.prim with parameters of type Vector3DModifier and TypeMethodDescriptionAdds the given vector to this vector.doubleAngle between this and another vectordoubleCalculates the clockwise angle of rotation from the image of the first given vector to the image of the second given vector projected onto a plane who's normal is this vector and using this vector as an axis.doubleReturns a value greater than or equal to zero proportional to the amount that the two vectors differ.voidSets the components of this vector to be equal the components of the given vector.Constructs a newVector3Dcontaining the cross product of this vector and the given vector.doubleReturns the dot product of this vector and the given vector.voidModifies the contents of thisPath3Dsuch that the path contains the specified number of evenly spaced points, the origin of the path is at the given origin point, the points are collinear along the given direction vector, and the total length of the path is equal to the given length.Line3D.projection(Vector3D v) projection of a point onto this lineVector3D.projection(Vector3D v) Projection of this vector onto another vectorvoidRotates the given vector clockwise around the axis produced by this vector by the given angle.voidSets the core parameters of this arc to equal the given parameters.voidHelix3D.set(Point3D origin, Point3D center, Vector3D normal, double totalHeight, double loopHeight, boolean clockwise) Sets the parameters of this helix.voidSets the line origin at the given point and the end point at the position of the origin point plus the given vector.voidSets the reference point and normal of this plane to coincide with the given point and vector.voidSets this points coordinates by adding the given vector to the given point.voidSets the normal of the circle of the arc.voidSets the orientation of the central axis of the helix.voidSets the normal of this plane to parallel the given vector.Subtracts the given vector from this vectorConstructors in org.jlab.geom.prim with parameters of type Vector3DModifierConstructorDescriptionConstructs a newArc3Dfrom the given parameters.Helix3D(Point3D origin, Point3D center, Vector3D normal, double totalHeight, double loopHeight, boolean clockwise) Constructs a helix from the given parameters.Constructs a newLine3Dsuch that the the given point is at the origin of the line and the vector from the origin to the end of the line is equal to the given vector.Constructs a newPlane3Dsuch that the new plane passes through the given point and the normal of the new plane is parallel to the given vector.Constructs a newPoint3Dby adding the given vector to the given point.Constructs a newPoint3Dwith the given vector.Constructs a newVector3Didentical to the given vector.