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 newDetectorHit
at 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 Point3D
AbstractComponent.getMidpoint()
MeshComponent.getMidpoint()
final Point3D
AbstractComponent.getVolumePoint
(int pointIndex) MeshComponent.getVolumePoint
(int p) Methods in org.jlab.geom.abs with parameters of type Point3DModifier and TypeMethodDescriptionprotected final void
AbstractComponent.addVolumePoint
(Point3D point) Adds points to the component's volume.boolean
MeshComponent.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 thevolume
with the specified index.Methods in org.jlab.geom.base with parameters of type Point3DModifier and TypeMethodDescriptionboolean
Component.getVolumeIntersection
(Line3D line, Point3D inIntersect, Point3D outIntersect) Returns true if the given line segment intersect thevolume-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. -
Uses of Point3D in org.jlab.geom.component
Methods in org.jlab.geom.component with parameters of type Point3DModifier and TypeMethodDescriptionboolean
PrismaticComponent.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 newDriftChamberWire
from the given parameters.RectangularComponent
(int componentId, Point3D p0, Point3D p1, Point3D p2, Point3D p3, Point3D p4, Point3D p5, Point3D p6, Point3D p7) Initializes aRectangularComponent
from the given points.ScintillatorPaddle
(int componentId, Point3D p0, Point3D p1, Point3D p2, Point3D p3, Point3D p4, Point3D p5, Point3D p6, Point3D p7) Constructs a newScintillatorPaddle
from the given points.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.TrackerStrip
(int componentId, Point3D origin, Point3D end, double width, double thickness) Constructs a newTrackerStrip
from 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 newDriftChamberWire
from the given parameters.protected
PrismaticComponent
(int componentId, List<Point3D> firstFace, List<Point3D> secondFace) Initializes aPrismaticComponent
from 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 TypeMethodDescriptionboolean
ConcaveComponent.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 Point3D
Point3D.average
(Collection<Point3D> points) Constructs a newPoint3D
at the geometric mean of the given points.static Point3D
Constructs a newPoint3D
at 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 newPoint3D
at the geometric mean of the four points in thisTrap3D
.Triangle3D.center()
Constructs a newPoint3D
at the geometric mean of the three points in thisTriangle3D
.Arc3D.end()
Constructs a newPoint3D
at 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 newPoint3D
between 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 newPoint3D
on the line by linearly interpolating from this point to the given point by the amount specified.Line3D.midpoint()
Constructs a newPoint3D
at the midpoint between the two bounding points.Constructs a newPoint3D
at 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 newPoint3D
object 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 thisFace3D
with 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 newPoint3D
using this vector's x, y, and z components.Methods in org.jlab.geom.prim with parameters of type Point3DModifier and TypeMethodDescriptionvoid
Adds a point to the path with same coordinates as the given point.void
static Point3D
Constructs a newPoint3D
at the geometric mean of the given points.int
Path3D.closestNodeIndex
(Point3D point) Finds the index of the closest point in this path to the given point.void
Combines this point with the given point.void
Sets the components of this point to be equal the components of the given point.Constructs a newLine3D
from 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 newLine3D
from a line contained in this path to the given point such that the length of the constructed line is minimal.void
Calculates a Line3D object with origin at the given point and the end at the plane, length is the distance to the plane.double
Returns the distance between this point and the given point.double
Sector3D.distanceFromEdge
(Point3D p) Computes the minimum distance of the given point from the edges of thisSector3D
.double
Trap3D.distanceFromEdge
(Point3D p) Computes the minimum distance of the given point from the edges of thisTrap3D
.double
Triangle3D.distanceFromEdge
(Point3D p) Computes the minimum distance of the given point from the edges of thisTriangle3D
.Line3D.distanceRay
(Point3D point) Constructs a newLine3D
from 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 newLine3D
from 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.double
Cylindrical3D.distanceToEdge
(Point3D point) Distance between the point and the closest cylinder edgevoid
Modifies the contents of thisPath3D
such 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.void
Path3D.generateRandom
(Point3D origin, double thetaMin, double thetaMax, double phiMin, double phiMax, double length, int npoints) Modifies the contents of thisPath3D
such 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.int
Camera3D.getCanvasX
(Point3D point) int
Camera3D.getCanvasY
(Point3D point) void
int
Plane3D.intersection
(Line3D line, Point3D intersect) Finds the intersection of the given infinite with this plane.boolean
Plane3D.intersection
(Plane3D plane1, Plane3D plane2, Point3D intersect) Finds the intersection of the two given planes and this plane.int
Plane3D.intersectionRay
(Line3D line, Point3D intersect) Finds the intersection of the given ray with this plane.int
Plane3D.intersectionSegment
(Line3D line, Point3D intersect) Finds the intersection of the given line segment with this plane.boolean
Test whether the given point is in the trapezoid planeboolean
Test whether the given point is inside the area of thisSector3D
.boolean
Test whether the given point is inside the area of thisTrap3D
.boolean
Test whether the given point is inside the area of thisTriangle3D
.boolean
Cylindrical3D.isOnSurface
(Point3D point) Returns true if the given point is on the surface of this cylindrical segment.boolean
Helix3D.isPointOnHelix
(Point3D point) Returns true if the point is on the helix (within 100nm).Constructs a newPoint3D
between this point and the given point by linearly interpolating from this point to the given point by the amount specified.Constructs a newPoint3D
at the geometric mean of this point and the given point.void
Translates this shape so that it's geometric center coincides with the given point.Line3D.projection
(Point3D p) void
Rotates the given point clockwise around the axis produced by this vector by the given anglevoid
Sets the core parameters of this arc to equal the given parameters.void
Helix3D.set
(Point3D origin, Point3D center, Vector3D normal, double totalHeight, double loopHeight, boolean clockwise) Sets the parameters of this helix.void
Sets the line origin and end point to given points.void
Sets the line origin at the given point and the end point at the position of the origin point plus the given vector.void
Sets the reference point and normal of this plane to coincide with the given point and vector.void
Sets this points coordinates by adding the given vector to the given point.void
Sets the points of thisTrap3D
to coincide with the given points.void
Sets the points of thisTriangle3D
to coincide with the given points.void
Sets the center point of the circle of the arc.void
Sets the center point of the helix.void
Sets the end point.void
Sets the origin point at the beginning of the arc.void
Sets the starting point on the helix.void
Sets the origin point.void
Sets the reference point of this plane.Point3D.vectorFrom
(Point3D point) Constructs a newVector3D
pointing from the given point to this point (equivalent to (this.x-point.x, this.y-point.y, this.z-point.z).Constructs a newVector3D
pointing 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 Point3D
Point3D.average
(Collection<Point3D> points) Constructs a newPoint3D
at the geometric mean of the given points.int
Cylindrical3D.intersection
(Line3D line, List<Point3D> intersections) int
Face3D.intersection
(Line3D line, List<Point3D> intersections) Finds the intersections of the given infinite line with thisFace3D
.int
Sector3D.intersection
(Line3D line, List<Point3D> intersections) int
Shape3D.intersection
(Line3D line, List<Point3D> intersections) Finds intersections of the given infinite line with this shape.int
Sphere3D.intersection
(Line3D line, List<Point3D> intersections) int
Trap3D.intersection
(Line3D line, List<Point3D> intersections) int
Triangle3D.intersection
(Line3D line, List<Point3D> intersections) int
Finds intersections of the given infinite line with this shape.double
Cylindrical3D.intersectionLength
(Line3D line, List<Point3D> intersections) Compute the intersections of a ray within the 3D volumevoid
Mesh3D.intersectionPath
(Path3D path, List<Point3D> intersections) int
Cylindrical3D.intersectionRay
(Line3D line, List<Point3D> intersections) int
Face3D.intersectionRay
(Line3D line, List<Point3D> intersections) Finds the intersections of the given ray with thisFace3D
.int
Mesh3D.intersectionRay
(Line3D line, List<Point3D> intersections) Finds intersections of the given ray with this shape.int
Sector3D.intersectionRay
(Line3D line, List<Point3D> intersections) int
Shape3D.intersectionRay
(Line3D line, List<Point3D> intersections) Finds intersections of the given ray with this shape.int
Trap3D.intersectionRay
(Line3D line, List<Point3D> intersections) int
Triangle3D.intersectionRay
(Line3D line, List<Point3D> intersections) int
Cylindrical3D.intersectionSegment
(Line3D line, List<Point3D> intersections) int
Face3D.intersectionSegment
(Line3D line, List<Point3D> intersections) Finds the intersections of the given line segment with thisFace3D
.int
Mesh3D.intersectionSegment
(Line3D line, List<Point3D> intersections) Finds intersections of the given line segment with this shape.int
Sector3D.intersectionSegment
(Line3D line, List<Point3D> intersections) int
Shape3D.intersectionSegment
(Line3D line, List<Point3D> intersections) Finds intersections of the given line segment with this shape.int
Trap3D.intersectionSegment
(Line3D line, List<Point3D> intersections) int
Triangle3D.intersectionSegment
(Line3D line, List<Point3D> intersections) Constructors in org.jlab.geom.prim with parameters of type Point3DModifierConstructorDescriptionConstructs a newArc3D
from 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 newLine3D
such that the newLine3D
's bounding points coincide with the given points.Constructs a newLine3D
such 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 newPath3D
from the given points.Constructs a newPlane3D
such that the new plane passes through the given point and the normal of the new plane is parallel to the given vector.Constructs a newPoint3D
by copying the x, y, and z coordinates of the given point.Constructs a newPoint3D
by adding the given vector to the given point.Constructs a newTrap3D
from the given points.Triangle3D
(Point3D point0, Point3D point1, Point3D point2) Constructs a newTriangle3D
from 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 TypeMethodDescriptiondouble
UniverseCoordinateSystem.getCanvasX
(Point3D point) double
UniverseCoordinateSystem.getCanvasY
(Point3D point)