Uses of Class
org.jlab.geom.prim.Point3D
Packages that use Point3D
Package
Description
-
Uses of Point3D in org.jlab.geom
Methods in org.jlab.geom that return Point3DConstructors in org.jlab.geom with parameters of type Point3DModifierConstructorDescriptionDetectorHit(DetectorId detectorId, int sectorId, int superlayerId, int layerId, int componentId, Point3D hitPosition) Constructs a newDetectorHitat the given position with the detector, sector, superlayer, layer, and component ids all set to 0.DetectorHit(DetectorId detectorId, int sectorId, int superlayerId, int layerId, int componentId, Point3D hitPosition, Vector3D direction) -
Uses of Point3D in org.jlab.geom.abs
Methods in org.jlab.geom.abs that return Point3DModifier and TypeMethodDescriptionfinal Point3DAbstractComponent.getMidpoint()MeshComponent.getMidpoint()final Point3DAbstractComponent.getVolumePoint(int pointIndex) MeshComponent.getVolumePoint(int p) Methods in org.jlab.geom.abs with parameters of type Point3DModifier and TypeMethodDescriptionprotected final voidAbstractComponent.addVolumePoint(Point3D point) Adds points to the component's volume.booleanMeshComponent.getVolumeIntersection(Line3D line, Point3D inIntersect, Point3D outIntersect) -
Uses of Point3D in org.jlab.geom.base
Methods in org.jlab.geom.base that return Point3DModifier and TypeMethodDescriptionComponent.getMidpoint()Returns the midpoint of this component.Component.getVolumePoint(int p) Returns the point on thevolumewith the specified index.Methods in org.jlab.geom.base with parameters of type Point3DModifier and TypeMethodDescriptionbooleanComponent.getVolumeIntersection(Line3D line, Point3D inIntersect, Point3D outIntersect) Returns true if the given line segment intersect thevolume-shapetwice (one incoming intersection and one out going) and stores the incoming and outgoing intersection points are stored in the first and second Point3D objects given as arguments respectively. -
Uses of Point3D in org.jlab.geom.component
Methods in org.jlab.geom.component with parameters of type Point3DModifier and TypeMethodDescriptionbooleanPrismaticComponent.getVolumeIntersection(Line3D line, Point3D inIntersect, Point3D outIntersect) Returns true if the given line segment intersect the volume-shape twice (one incoming intersection and one out going) and stores the incoming and outgoing intersection points are stored in the first and second Point3D objects given as arguments respectively.Constructors in org.jlab.geom.component with parameters of type Point3DModifierConstructorDescriptionDriftChamberWire(int componentId, Point3D midpoint, Line3D line, boolean flipReadoutDirection, List<Point3D> botHex, List<Point3D> topHex) Constructs a newDriftChamberWirefrom the given parameters.RectangularComponent(int componentId, Point3D p0, Point3D p1, Point3D p2, Point3D p3, Point3D p4, Point3D p5, Point3D p6, Point3D p7) Initializes aRectangularComponentfrom the given points.ScintillatorPaddle(int componentId, Point3D p0, Point3D p1, Point3D p2, Point3D p3, Point3D p4, Point3D p5, Point3D p6, Point3D p7) Constructs a newScintillatorPaddlefrom the given points.SiStrip(int componentId, Point3D p0, Point3D p1, Point3D p2, Point3D p3, Point3D p4, Point3D p5, Point3D p6, Point3D p7) Constructs a newSiStripfrom the given points.TrackerStrip(int componentId, Point3D origin, Point3D end, double width, double thickness) Constructs a newTrackerStripfrom the given points.Constructor parameters in org.jlab.geom.component with type arguments of type Point3DModifierConstructorDescriptionDriftChamberWire(int componentId, Point3D midpoint, Line3D line, boolean flipReadoutDirection, List<Point3D> botHex, List<Point3D> topHex) Constructs a newDriftChamberWirefrom the given parameters.protectedPrismaticComponent(int componentId, List<Point3D> firstFace, List<Point3D> secondFace) Initializes aPrismaticComponentfrom the two given polygonal faces with the given component id. -
Uses of Point3D in org.jlab.geom.detector.alert.AHDC
Methods in org.jlab.geom.detector.alert.AHDC with parameters of type Point3DModifier and TypeMethodDescriptionbooleanConcaveComponent.getVolumeIntersection(Line3D line, Point3D inIntersect, Point3D outIntersect) Returns true if the given line segment intersect the volume-shape twice (one incoming intersection and one out going) and stores the incoming and outgoing intersection points are stored in the first and second Point3D objects given as arguments respectively.Constructor parameters in org.jlab.geom.detector.alert.AHDC with type arguments of type Point3D -
Uses of Point3D in org.jlab.geom.geant
Methods in org.jlab.geom.geant that return types with arguments of type Point3D -
Uses of Point3D in org.jlab.geom.prim
Methods in org.jlab.geom.prim that return Point3DModifier and TypeMethodDescriptionstatic Point3DPoint3D.average(Collection<Point3D> points) Constructs a newPoint3Dat the geometric mean of the given points.static Point3DConstructs a newPoint3Dat the geometric mean of the given points.Arc3D.center()Returns the center point of the circle of the arc.Helix3D.center()Returns the central point of the helix.Shape3D.center()Constructs a point center of the shape.Trap3D.center()Constructs a newPoint3Dat the geometric mean of the four points in thisTrap3D.Triangle3D.center()Constructs a newPoint3Dat the geometric mean of the three points in thisTriangle3D.Arc3D.end()Constructs a newPoint3Dat the end of this arc.Line3D.end()Returns the end point.Sphere3D.getCenter()Mesh3D.getCenterX(int order) Mesh3D.getCenterY(int order) Mesh3D.getCenterZ(int order) Region3D.getOrigin()Constructs a newPoint3Dbetween this point and the given point by linearly interpolating from this point to the given point by the amount specified.Line3D.lerpPoint(double t) Constructs a newPoint3Don the line by linearly interpolating from this point to the given point by the amount specified.Line3D.midpoint()Constructs a newPoint3Dat the midpoint between the two bounding points.Constructs a newPoint3Dat the geometric mean of this point and the given point.Arc3D.origin()Returns the origin point of this arc.Helix3D.origin()Returns the origin point on the helix.Line3D.origin()Returns the origin point.Arc3D.point(double t) Constructs a newPoint3Dobject by using the given value as the parameter for the parametric equation describing this arc.Cylindrical3D.point(int index) Face3D.point(int index) Returns the point from thisFace3Dwith corresponding index.Helix3D.point(double height) Returns the point on the helix at the specified height.Path3D.point(int index) Returns the point at the given index or null if there is no such point.Plane3D.point()Returns the reference point of this plane.Sector3D.point(int index) Trap3D.point(int index) Triangle3D.point(int index) Line3D.projection(Point3D p) Vector3D.toPoint3D()Constructs a newPoint3Dusing this vector's x, y, and z components.Methods in org.jlab.geom.prim with parameters of type Point3DModifier and TypeMethodDescriptionvoidAdds a point to the path with same coordinates as the given point.voidstatic Point3DConstructs a newPoint3Dat the geometric mean of the given points.intPath3D.closestNodeIndex(Point3D point) Finds the index of the closest point in this path to the given point.voidCombines this point with the given point.voidSets the components of this point to be equal the components of the given point.Constructs a newLine3Dfrom this infinite line to the given point such that the origin point of the constructed line coincides with this infinite line, the end point of the constructed line coincides with the given point, and the length of the constructed line is minimal.Constructs a newLine3Dfrom a line contained in this path to the given point such that the length of the constructed line is minimal.voidCalculates a Line3D object with origin at the given point and the end at the plane, length is the distance to the plane.doubleReturns the distance between this point and the given point.doubleSector3D.distanceFromEdge(Point3D p) Computes the minimum distance of the given point from the edges of thisSector3D.doubleTrap3D.distanceFromEdge(Point3D p) Computes the minimum distance of the given point from the edges of thisTrap3D.doubleTriangle3D.distanceFromEdge(Point3D p) Computes the minimum distance of the given point from the edges of thisTriangle3D.Line3D.distanceRay(Point3D point) Constructs a newLine3Dfrom this ray line to the given point such that the origin point of the constructed line coincides with this ray line, the end point of the constructed line coincides with the given point, and the length of the constructed line is minimal.Line3D.distanceSegment(Point3D point) Constructs a newLine3Dfrom this line segment to the given point such that the origin point of the constructed line coincides with this line segment, the end point of the constructed line coincides with the given point, and the length of the constructed line is minimal.doubleCylindrical3D.distanceToEdge(Point3D point) Distance between the point and the closest cylinder edgevoidModifies 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.voidPath3D.generateRandom(Point3D origin, double thetaMin, double thetaMax, double phiMin, double phiMax, double length, int npoints) Modifies 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 a randomly generated vector bounded by theta min and max and phi min and max, and the total length of the path is equal to the given length.intCamera3D.getCanvasX(Point3D point) intCamera3D.getCanvasY(Point3D point) voidintPlane3D.intersection(Line3D line, Point3D intersect) Finds the intersection of the given infinite with this plane.booleanPlane3D.intersection(Plane3D plane1, Plane3D plane2, Point3D intersect) Finds the intersection of the two given planes and this plane.intPlane3D.intersectionRay(Line3D line, Point3D intersect) Finds the intersection of the given ray with this plane.intPlane3D.intersectionSegment(Line3D line, Point3D intersect) Finds the intersection of the given line segment with this plane.booleanTest whether the given point is in the trapezoid planebooleanTest whether the given point is inside the area of thisSector3D.booleanTest whether the given point is inside the area of thisTrap3D.booleanTest whether the given point is inside the area of thisTriangle3D.booleanCylindrical3D.isOnSurface(Point3D point) Returns true if the given point is on the surface of this cylindrical segment.booleanHelix3D.isPointOnHelix(Point3D point) Returns true if the point is on the helix (within 100nm).Constructs a newPoint3Dbetween this point and the given point by linearly interpolating from this point to the given point by the amount specified.Constructs a newPoint3Dat the geometric mean of this point and the given point.voidTranslates this shape so that it's geometric center coincides with the given point.Line3D.projection(Point3D p) voidRotates the given point clockwise around the axis produced by this vector by the given anglevoidSets 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 and end point to given points.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 points of thisTrap3Dto coincide with the given points.voidSets the points of thisTriangle3Dto coincide with the given points.voidSets the center point of the circle of the arc.voidSets the center point of the helix.voidSets the end point.voidSets the origin point at the beginning of the arc.voidSets the starting point on the helix.voidSets the origin point.voidSets the reference point of this plane.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).Constructs a newVector3Dpointing from this point to the given point (equivalent to (point.x-this.x, point.y-this.y, point.z-this.z)).Method parameters in org.jlab.geom.prim with type arguments of type Point3DModifier and TypeMethodDescriptionstatic Point3DPoint3D.average(Collection<Point3D> points) Constructs a newPoint3Dat the geometric mean of the given points.intCylindrical3D.intersection(Line3D line, List<Point3D> intersections) intFace3D.intersection(Line3D line, List<Point3D> intersections) Finds the intersections of the given infinite line with thisFace3D.intSector3D.intersection(Line3D line, List<Point3D> intersections) intShape3D.intersection(Line3D line, List<Point3D> intersections) Finds intersections of the given infinite line with this shape.intSphere3D.intersection(Line3D line, List<Point3D> intersections) intTrap3D.intersection(Line3D line, List<Point3D> intersections) intTriangle3D.intersection(Line3D line, List<Point3D> intersections) intFinds intersections of the given infinite line with this shape.doubleCylindrical3D.intersectionLength(Line3D line, List<Point3D> intersections) Compute the intersections of a ray within the 3D volumevoidMesh3D.intersectionPath(Path3D path, List<Point3D> intersections) intCylindrical3D.intersectionRay(Line3D line, List<Point3D> intersections) intFace3D.intersectionRay(Line3D line, List<Point3D> intersections) Finds the intersections of the given ray with thisFace3D.intMesh3D.intersectionRay(Line3D line, List<Point3D> intersections) Finds intersections of the given ray with this shape.intSector3D.intersectionRay(Line3D line, List<Point3D> intersections) intShape3D.intersectionRay(Line3D line, List<Point3D> intersections) Finds intersections of the given ray with this shape.intTrap3D.intersectionRay(Line3D line, List<Point3D> intersections) intTriangle3D.intersectionRay(Line3D line, List<Point3D> intersections) intCylindrical3D.intersectionSegment(Line3D line, List<Point3D> intersections) intFace3D.intersectionSegment(Line3D line, List<Point3D> intersections) Finds the intersections of the given line segment with thisFace3D.intMesh3D.intersectionSegment(Line3D line, List<Point3D> intersections) Finds intersections of the given line segment with this shape.intSector3D.intersectionSegment(Line3D line, List<Point3D> intersections) intShape3D.intersectionSegment(Line3D line, List<Point3D> intersections) Finds intersections of the given line segment with this shape.intTrap3D.intersectionSegment(Line3D line, List<Point3D> intersections) intTriangle3D.intersectionSegment(Line3D line, List<Point3D> intersections) Constructors in org.jlab.geom.prim with parameters of type Point3DModifierConstructorDescriptionConstructs 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 newLine3D's bounding points coincide with the given points.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 newPath3Dfrom the given points.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 copying the x, y, and z coordinates of the given point.Constructs a newPoint3Dby adding the given vector to the given point.Constructs a newTrap3Dfrom the given points.Triangle3D(Point3D point0, Point3D point1, Point3D point2) Constructs a newTriangle3Dfrom the given points. -
Uses of Point3D in org.jlab.geom.view
Methods in org.jlab.geom.view that return types with arguments of type Point3DMethods in org.jlab.geom.view with parameters of type Point3DModifier and TypeMethodDescriptiondoubleUniverseCoordinateSystem.getCanvasX(Point3D point) doubleUniverseCoordinateSystem.getCanvasY(Point3D point)