Uses of Class
eu.mihosoft.vrl.v3d.Vector3d
Packages that use Vector3d
Package
Description
-
Uses of Vector3d in eu.mihosoft.vrl.v3d
Fields in eu.mihosoft.vrl.v3d declared as Vector3dModifier and TypeFieldDescriptionIntersection.normal
Plane.normal
Normal vector.Vertex.normal
Normal.Intersection.pos
Vertex.pos
Vertex position.static final Vector3d
Vector3d.UNITY
static final Vector3d
Vector3d.X_ONE
static final Vector3d
Vector3d.Y_ONE
static final Vector3d
Vector3d.Z_ONE
static final Vector3d
Vector3d.ZERO
Methods in eu.mihosoft.vrl.v3d that return Vector3dModifier and TypeMethodDescriptionVector3d.add
(double x, double y, double z) Vector3d.clone()
Returns the cross product of this vector and the specified vector.Vector3d.dividedBy
(double a) Returns this vector devided by the specified value.Bounds.getBounds()
Returns the bounds (width,height,depth).Bounds.getCenter()
Returns the position of the center.Cube.getCenter()
RoundedCube.getCenter()
Sphere.getCenter()
Cube.getDimensions()
RoundedCube.getDimensions()
Edge.getDirection()
Cylinder.getEnd()
Bounds.getMax()
Bounds.getMin()
Cylinder.getStart()
Linearly interpolates between this and the specified vector.Constructs a newPoint3D
at the geometric mean of this point and the given point.Returns the difference of this vector and the specified vector.Vector3d.negated()
Returns a negated copy of this vector.Vector3d.normalized()
Returns a normalized copy of this vector with length1
.Vector3d.orthogonal()
Creates a new vector which is orthogonal to this.Returns the sum of this vector and the specified vector.Vector3d.rotateX
(double angle) Vector3d.rotateY
(double angle) Vector3d.rotateZ
(double angle) Subtracts the given vector from this vectorReturns the product of this matrix and the specified vector.Vector3d.times
(double a) Returns the product of this vector and the specified value.Returns the product of this vector and the specified vector.Applies this transform to the specified vector.Applies this transform to the specified vector.Applies the specified transformation to this vector.Applies the specified transformation to this vector.Vector3d.transformed
(Transform transform) Returns a transformed copy of this vector.Vector3d.transformed
(Transform transform, double amount) Returns a transformed copy of this vector.static Vector3d
Vector3d.x
(double x) Creates a new vector with specifiedx
static Vector3d
Vector3d.y
(double y) Creates a new vector with specifiedy
static Vector3d
Vector3d.z
(double z) Creates a new vector with specifiedz
Methods in eu.mihosoft.vrl.v3d that return types with arguments of type Vector3dModifier and TypeMethodDescriptionEdge.getClosestPoint
(Edge e) Returns the the point of this edge that is closest to the specified edge.Edge.getIntersection
(Edge e) Returns the intersection point between this edge and the specified edge.CSG.getIntersections
(Straight line) Methods in eu.mihosoft.vrl.v3d with parameters of type Vector3dModifier and TypeMethodDescriptiondouble
Returns the angle between this and the specified vector.boolean
Indicates whether the specified point is contained within this bounding box (check includes box boundary).boolean
Determines whether the specified point lies on tthis edge.boolean
Determines whether the specified point lies on tthis edge.boolean
static Plane
Plane.createFromPoints
(Vector3d a, Vector3d b, Vector3d c) Creates a plane defined by the the specified points.Returns the cross product of this vector and the specified vector.double
double
Returns the dot product of this vector and the specified vector.double
double
Evaluates the function at the specified location.double
double
double
Polygon.fromConcavePoints
(Vector3d... points) Decomposes the specified concave polygon into convex polygons.static Polygon
Polygon.fromPoints
(Vector3d... points) Creates a polygon from the specified points.CSG.getCrossSection
(Vector3d planePoint, Vector3d planeNormal) Polygon.getIntersection
(Vector3d planePoint, Vector3d planeNormal) Linearly interpolates between this and the specified vector.Constructs a newPoint3D
at the geometric mean of this point and the given point.Returns the difference of this vector and the specified vector.Returns the sum of this vector and the specified vector.static CSG
Extrudes the specified path (convex or concave polygon without holes or intersections, specified in CCW) into the specified direction.static CSG
Extrudes the specified path (convex or concave polygon without holes or intersections, specified in CCW) into the specified direction.Applies a rotation operation to this transform.void
Rotates the given vector clockwise around the axis produced by this vector by the given angle.Applies a scale operation to this transform.void
void
void
void
void
Cube.setDimensions
(Vector3d dimensions) void
RoundedCube.setDimensions
(Vector3d dimensions) void
void
void
Intersection.setPosition
(Vector3d pos) void
Intersection.setPosition
(Vector3d pos, double parametricT) void
Subtracts the given vector from this vectorReturns the product of this matrix and the specified vector.Returns the product of this vector and the specified vector.Applies this transform to the specified vector.Applies this transform to the specified vector.Translates this polygon.Applies a translation operation to this transform.Polygon.translated
(Vector3d v) Returns a translated copy of this polygon.Method parameters in eu.mihosoft.vrl.v3d with type arguments of type Vector3dModifier and TypeMethodDescriptionPolygon.fromConcavePoints
(List<Vector3d> points) Decomposes the specified concave polygon into convex polygons.static Polygon
Polygon.fromPoints
(List<Vector3d> points) Creates a polygon from the specified point list.static Polygon
Polygon.fromPoints
(List<Vector3d> points, PropertyStorage shared) Creates a polygon from the specified point list.static CSG
Extrudes the specified path (convex or concave polygon without holes or intersections, specified in CCW) into the specified direction.Constructors in eu.mihosoft.vrl.v3d with parameters of type Vector3dModifierConstructorDescriptionConstructor.Constructor.Constructor.Constructor.Constructor.Polyhedron
(Vector3d[] points, Integer[][] faces) Constructor.RoundedCube
(Vector3d center, Vector3d dimensions) Constructor.Constructor.Creates a new vector based on provided vector (copy constructor)Constructor.Constructor parameters in eu.mihosoft.vrl.v3d with type arguments of type Vector3d -
Uses of Vector3d in org.jlab.detector.geant4.v2
Methods in org.jlab.detector.geant4.v2 that return Vector3dModifier and TypeMethodDescriptionCTOFGeant4Factory.getCenter
(double radius, double thickness, double angle) DCGeant4Factory.getLayerMidpoint
(int isuper, int ilayer) DCGeant4Factory.getLayerMidpoint
(int isec, int isuper, int ilayer) RICHGeant4Factory.GetNormal_Stl
(int i, Vector3d hitV) DCGeant4Factory.getRegionMidpoint
(int iregion) DCGeant4Factory.getRegionMidpoint
(int isec, int iregion) DCGeant4Factory.getWireDirection
(int isuper, int ilayer, int iwire) DCGeant4Factory.getWireLeftend
(int isuper, int ilayer, int iwire) DCGeant4Factory.getWireLeftend
(int isec, int isuper, int ilayer, int iwire) DCGeant4Factory.getWireMidpoint
(int isuper, int ilayer, int iwire) DCGeant4Factory.getWireMidpoint
(int isec, int isuper, int ilayer, int iwire) DCGeant4Factory.getWireRightend
(int isuper, int ilayer, int iwire) DCGeant4Factory.getWireRightend
(int isec, int isuper, int ilayer, int iwire) Methods in org.jlab.detector.geant4.v2 with parameters of type Vector3d -
Uses of Vector3d in org.jlab.detector.geant4.v2.recoil
Methods in org.jlab.detector.geant4.v2.recoil that return Vector3dModifier and TypeMethodDescriptionRecoilGeant4Factory.getCenterCoordinate
(int isector, int iregion) Calculates sector baricenter coordinate in CLAS12 frame -
Uses of Vector3d in org.jlab.detector.geant4.v2.SVT
Methods in org.jlab.detector.geant4.v2.SVT that return Vector3dModifier and TypeMethodDescriptionstatic Vector3d
SVTAlignmentFactory.createFiducial
(int aFid) Returns a fiducial point on a sector module in the local frame.Vector3d[]
SVTStripFactory.createIdealLayerCorners
(int aModule) Returns the corners of a sensor layer in the local frame.Vector3d[]
SVTStripFactory.createShiftedLayerCorners
(int aRegion, int aSector, int aModule) Returns the corners of a sensor layer in the local frame after the alignment shifts have been applied.static Vector3d
SVTAlignmentFactory.getIdealFiducialCenter
(int aRegion, int aSector) Returns the fiducial center for a sector module before any alignment shifts been applied.static Vector3d[]
SVTAlignmentFactory.getIdealFiducials
(int aRegion, int aSector) Returns a set of fiducial points for a sector module before any alignment shifts been applied.Vector3d[]
SVTStripFactory.getIdealLayerCorners
(int aLayer, int aSector) Returns the corners of a sensor layer in the detector frame.Vector3d[]
SVTStripFactory.getIdealLayerCorners
(int aRegion, int aSector, int aModule) Returns the corners of a sensor layer in the detector frame.Vector3d[]
SVTStripFactory.getLayerCorners
(int aLayer, int aSector) Returns the corners of a sensor layer in the lab frame, depending on this factory's setup.Vector3d[]
SVTStripFactory.getLayerCorners
(int aRegion, int aSector, int aModule) Returns the corners of a sensor layer in the lab frame, depending on this factory's setup.SVTStripFactory.getModuleNormal
(int aLayer, int aSector) Returns the normal the module in the lab frame, depending on this factory's setup.static Vector3d[]
SVTAlignmentFactory.getShiftedFiducials
(int aRegion, int aSector) Returns a set of fiducial points for a sector module after the alignment shifts been applied.Vector3d[]
SVTStripFactory.getShiftedLayerCorners
(int aLayer, int aSector) Returns the corners of a sensor layer in the lab frame after the alignment shifts have been applied.Vector3d[]
SVTStripFactory.getShiftedLayerCorners
(int aRegion, int aSector, int aModule) Returns the corners of a sensor layer in the lab frame after the alignment shifts have been applied.static Vector3d
Util.toVector3d
(double[] a) Converts the given double[] array to a vector.static Vector3d
Util.toVector3d
(Matrix m) Converts the given column-based Matrix to a vector.static Vector3d
Util.toVector3D
(double[] a) Converts the given double[] array to a vector.SVTStripFactory.transformToLab
(int aLayer, int aSector, double x, double y, double z) Transform the (x,y,z) point from the local to the lab frameSVTStripFactory.transformToLab
(int aRegion, int aSector, int aModule, Vector3d pLoc) Transform the pLab point from the strip to the lab frameSVTStripFactory.transformToLab
(int aLayer, int aSector, Vector3d pLoc) Transform the pLoc point from the strip to the lab frameSVTStripFactory.transformToLocal
(int aLayer, int aSector, double x, double y, double z) Transform the (x,y,z) point from the lab to the local frameSVTStripFactory.transformToLocal
(int aRegion, int aSector, int aModule, Vector3d pLab) Transform the pLab point from the lab to the local frameSVTStripFactory.transformToLocal
(int aLayer, int aSector, Vector3d pLab) Transform the pLab point from the lab to the local frameMethods in org.jlab.detector.geant4.v2.SVT with parameters of type Vector3dModifier and TypeMethodDescriptionstatic void
AlignmentFactory.applyInverseShift
(Vector3d aPoint, double[] aShift, Vector3d aCenter, double aScaleT, double aScaleR) Applies the inverse of the given alignment shift to the given point.static void
AlignmentFactory.applyShift
(Vector3d aPoint, double[] aShift, Vector3d aCenter, double aScaleT, double aScaleR) Applies the given alignment shift to the given point.static void
AlignmentFactory.applyShift
(Geant4Basic aVol, double[] aShift, Vector3d aNominalCenter, double aScaleT, double aScaleR) Applies the given alignment shift to the given volume.static void
SVTAlignmentFactory.applyShift
(Vector3d aPos, double[] aShift, Vector3d aNominalCenter) Applies the given alignment shift to the given point.static void
SVTAlignmentFactory.applyShift
(Geant4Basic aVol, double[] aShift, Vector3d aNominalCenter) Applies the given alignment shift to the given volume.static double[]
Util.calcDistance
(Vector3d p0, Vector3d p1, double u0, double u1) Calculates the distance with uncertainty between two measured points.static double[]
Util.convertVectorDiffToAxisAngle
(Vector3d a, Vector3d b) Calculates the difference between the two given direction vectors as an axis-angle rotation.static Geant4Basic
Util.createArrow
(String aName, Vector3d aVec, double aCapRadius, double aPointerRadius, boolean aDisplayCapStart, boolean aDisplayPointer, boolean aDisplayCapEnd) static double[]
Util.toDoubleArray
(Vector3d v) Converts the given vector to a double[] array.static Matrix
Converts the given vector to a column-based Matrix.SVTStripFactory.transformToLab
(int aRegion, int aSector, int aModule, Vector3d pLoc) Transform the pLab point from the strip to the lab frameSVTStripFactory.transformToLab
(int aLayer, int aSector, Vector3d pLoc) Transform the pLoc point from the strip to the lab frameSVTStripFactory.transformToLocal
(int aRegion, int aSector, int aModule, Vector3d pLab) Transform the pLab point from the lab to the local frameSVTStripFactory.transformToLocal
(int aLayer, int aSector, Vector3d pLab) Transform the pLab point from the lab to the local frame -
Uses of Vector3d in org.jlab.detector.geant4.v2.URWELL
Methods in org.jlab.detector.geant4.v2.URWELL that return Vector3dModifier and TypeMethodDescriptionURWellGeant4Factory.getCenterCoordinate
(int isector, int iregion) Calculates sector baricenter coordinate in CLAS12 frame -
Uses of Vector3d in org.jlab.detector.geom.RICH
Methods in org.jlab.detector.geom.RICH that return Vector3dModifier and TypeMethodDescriptionRICHGeoFactory.get_angles
(Vector3d vec) RICHGeoFactory.get_CSGBary
(CSG CSGVol) RICHGeoFactory.get_Poly_Bary
(Polygon pol) RICHGeoFactory.get_Poly_Normal
(Polygon pol) RICHGeoFactory.get_Shape3D_Bary
(org.jlab.geom.prim.Shape3D shape) RICHGeoFactory.get_Shape3D_Center
(org.jlab.geom.prim.Shape3D shape) RICHGeoFactory.get_Shape3D_Normal
(org.jlab.geom.prim.Shape3D shape) RICHGeoFactory.get_Shape3D_Normal
(org.jlab.geom.prim.Shape3D shape, int iface) RICHGeoFactory.get_Triangle3D_Bary
(org.jlab.geom.prim.Triangle3D tri) RICHPixel.GetPixelCenter
(int i) RICHPixel.GetPixelCenter
(Vector3d corner, int i) RICHGeoFactory.toVector3d
(Vertex ver) RICHGeoFactory.toVector3d
(org.jlab.geom.prim.Point3D pin) RICHGeoFactory.toVector3d
(org.jlab.geom.prim.Vector3D vin) RICHLayer.toVector3d
(Vertex ver) RICHLayer.toVector3d
(org.jlab.geom.prim.Point3D pos) RICHLayer.toVector3d
(org.jlab.geom.prim.Vector3D ver) Methods in org.jlab.detector.geom.RICH with parameters of type Vector3dModifier and TypeMethodDescriptionRICHGeoFactory.get_angles
(Vector3d vec) RICHPixel.GetPixelCenter
(Vector3d corner, int i) void
RICHGeoFactory.rotate_Triangle3D
(org.jlab.geom.prim.Triangle3D tri, Vector3d angle) void
RICHPixel.show_Pixels
(Vector3d ori) org.jlab.geom.prim.Point3D
org.jlab.geom.prim.Vector3D
RICHGeoFactory.toVector3D
(Vector3d vin) org.jlab.geom.prim.Vector3D
RICHLayer.toVector3D
(Vector3d ver) void
RICHGeoFactory.translate_Shape3D
(org.jlab.geom.prim.Shape3D shape, Vector3d shift) void
RICHGeoFactory.translate_Sphere3D
(org.jlab.geom.prim.Sphere3D sphere, Vector3d shift) void
RICHGeoFactory.translate_Triangle3D
(org.jlab.geom.prim.Triangle3D tri, Vector3d shift) Constructors in org.jlab.detector.geom.RICH with parameters of type Vector3d -
Uses of Vector3d in org.jlab.detector.hits
Fields in org.jlab.detector.hits declared as Vector3dMethods in org.jlab.detector.hits that return Vector3dMethods in org.jlab.detector.hits with parameters of type Vector3dModifier and TypeMethodDescriptionfinal void
final void
Constructors in org.jlab.detector.hits with parameters of type Vector3d -
Uses of Vector3d in org.jlab.detector.volume
Methods in org.jlab.detector.volume that return Vector3dModifier and TypeMethodDescriptionGeant4Basic.getGlobalPosition()
Geant4Basic.getLocalPosition()
G4Box.getVertex
(int ivertex) Position of the vertexG4Trap.getVertex
(int ivertex) Methods in org.jlab.detector.volume with parameters of type Vector3d -
Uses of Vector3d in org.jlab.geometry.prim
Fields in org.jlab.geometry.prim declared as Vector3dModifier and TypeFieldDescriptionprotected Vector3d
Straight.end
final Vector3d
Triangle3d.normal
protected Vector3d
Straight.origin
Methods in org.jlab.geometry.prim that return Vector3dModifier and TypeMethodDescriptionTriangle3d.center()
Straight.diff()
Straight.end()
Straight.origin()
Triangle3d.point
(int index) Methods in org.jlab.geometry.prim with parameters of type Vector3dModifier and TypeMethodDescriptionboolean
Triangle3d.getIntersection
(Vector3d planePoint, Vector3d planeNormal) void
void
Constructors in org.jlab.geometry.prim with parameters of type Vector3d