Uses of Class
com.j3d.engine.math.matrix.Vector3
Packages that use Vector3
Package
Description
Concrete command definitions.
Every single implementation of
EventPayload.Package containing every class related to the actual viewport scene the user sees.
-
Uses of Vector3 in com.j3d.engine.geometry
Subclasses of Vector3 in com.j3d.engine.geometryFields in com.j3d.engine.geometry declared as Vector3Modifier and TypeFieldDescriptionprivate Vector3Segment.endprivate Vector3Triangle.p1private Vector3Triangle.p2private Vector3Triangle.p3private Vector3Segment.startMethods in com.j3d.engine.geometry that return Vector3Modifier and TypeMethodDescriptionSegment.getEnd()Triangle.getP1()Triangle.getP2()Triangle.getP3()Point.getPivot()Pure.getPivot()Segment.getPivot()Triangle.getPivot()Segment.getStart()Methods in com.j3d.engine.geometry with parameters of type Vector3Constructors in com.j3d.engine.geometry with parameters of type Vector3 -
Uses of Vector3 in com.j3d.engine.interact.cmd.commands
Fields in com.j3d.engine.interact.cmd.commands declared as Vector3Modifier and TypeFieldDescription(package private) Vector3PrismCmd.bottomFaceCenter(package private) Vector3PrismCmd.topFaceCenterMethods in com.j3d.engine.interact.cmd.commands that return types with arguments of type Vector3 -
Uses of Vector3 in com.j3d.engine.interact.cmd.commands.camera.orbit
Method parameters in com.j3d.engine.interact.cmd.commands.camera.orbit with type arguments of type Vector3Modifier and TypeMethodDescriptionvoidOrbitCmd.onEnter(Pair<Vector3, Rotation> object, SafeJLabel label) voidOrbitCmd.onEsc(Pair<Vector3, Rotation> object, SafeJLabel label) voidOrbitCmd.onStart(Pair<Vector3, Rotation> object, SafeJLabel label) -
Uses of Vector3 in com.j3d.engine.interact.cmd.commands.measure
Methods in com.j3d.engine.interact.cmd.commands.measure with parameters of type Vector3 -
Uses of Vector3 in com.j3d.engine.interact.cmd.commands.transform
Fields in com.j3d.engine.interact.cmd.commands.transform declared as Vector3Modifier and TypeFieldDescriptionprivate Vector3RotateSelection.axisprotected Vector3AbstractTransform.centerThe calculated center of the current selection.Fields in com.j3d.engine.interact.cmd.commands.transform with type parameters of type Vector3Modifier and TypeFieldDescriptionAbstractTransform.originalPointPosA snapshot of the original positions of all points being transformed, for undo purposes.Methods in com.j3d.engine.interact.cmd.commands.transform that return Vector3Methods in com.j3d.engine.interact.cmd.commands.transform that return types with arguments of type Vector3Modifier and TypeMethodDescriptionAbstractTransform.getOriginalPointPositions()Retrieves the initial positions of all points being transformed.Methods in com.j3d.engine.interact.cmd.commands.transform with parameters of type Vector3 -
Uses of Vector3 in com.j3d.engine.interact.cmd.commands.transform.handles
Fields in com.j3d.engine.interact.cmd.commands.transform.handles declared as Vector3Methods in com.j3d.engine.interact.cmd.commands.transform.handles that return Vector3Methods in com.j3d.engine.interact.cmd.commands.transform.handles with parameters of type Vector3Modifier and TypeMethodDescriptionvoidUpdates the 3D position of the handle.Constructors in com.j3d.engine.interact.cmd.commands.transform.handles with parameters of type Vector3ModifierConstructorDescriptionHandle(HandleType handleType, Vector3 position, BiConsumer<Graphics2D, ScreenPoint> draw) Constructs a new Handle. -
Uses of Vector3 in com.j3d.engine.interact.cmd.commands.transform.mouse
Fields in com.j3d.engine.interact.cmd.commands.transform.mouse declared as Vector3Methods in com.j3d.engine.interact.cmd.commands.transform.mouse that return Vector3Methods in com.j3d.engine.interact.cmd.commands.transform.mouse with parameters of type Vector3Modifier and TypeMethodDescriptionRotateMouseOwner.arbitraryPerpendicular(Vector3 n) private voidRotateMouseOwner.drawCircFromAxis(Vector3 axis, Graphics2D g, Vector3 center, HandleType handle) -
Uses of Vector3 in com.j3d.engine.interact.cmd.commands.transform.qtrans
Fields in com.j3d.engine.interact.cmd.commands.transform.qtrans declared as Vector3Modifier and TypeFieldDescription(package private) Vector3QTranslateMouseOwner.cachedCentre(package private) Vector3QTranslateMouseOwner.mouseLocFields in com.j3d.engine.interact.cmd.commands.transform.qtrans with type parameters of type Vector3Methods in com.j3d.engine.interact.cmd.commands.transform.qtrans that return Vector3Modifier and TypeMethodDescriptionprivate Vector3QTranslateMouseOwner.calculateCentre()QTranslateMouseOwner.mouseLoc() -
Uses of Vector3 in com.j3d.engine.interact.selection
Methods in com.j3d.engine.interact.selection with parameters of type Vector3 -
Uses of Vector3 in com.j3d.engine.math.matrix
Fields in com.j3d.engine.math.matrix declared as Vector3Modifier and TypeFieldDescriptionstatic Vector3Vector3.NXA static constant representing the unit vector along the negative X-axis (-1, 0, 0).static Vector3Vector3.NYA static constant representing the unit vector along the negative Y-axis (0, -1, 0).static Vector3Vector3.NZA static constant representing the unit vector along the negative Z-axis (0, 0, -1).static Vector3Vector3.UNITA static constant representing the unit vector (1, 1, 1).static Vector3Vector3.XA static constant representing the unit vector along the positive X-axis (1, 0, 0).static Vector3Vector3.YA static constant representing the unit vector along the positive Y-axis (0, 1, 0).static Vector3Vector3.ZA static constant representing the unit vector along the positive Z-axis (0, 0, 1).static Vector3Vector3.ZEROA static constant representing the zero vector (0, 0, 0).Methods in com.j3d.engine.math.matrix that return Vector3Modifier and TypeMethodDescriptionstatic Vector3Vector3.acrossX(double x) Creates a vector along the X-axis with the specified magnitude.static Vector3Vector3.acrossY(double y) Creates a vector along the Y-axis with the specified magnitude.static Vector3Vector3.acrossZ(double z) Creates a vector along the Z-axis with the specified magnitude.Adds another vector to this one.Vector3.copy()Creates a deep copy of this vector.Calculates the cross product of this vector and another.Vector3.div(double scalar) Divides the vector by a scalar value.static Vector3Vector3.fromObject(GettersPack.CallProperties callProperties, EngineObject obj) Vector3.mult(double scalar) Multiplies the vector by a scalar value.Performs component-wise multiplication (Hadamard product) with another vector.Vector3.normalize()Normalizes the vector to have a magnitude of 1.static Vector3Vector3.of(MatrixInterface m) Creates aVector3from a 3x1MatrixInterface.static Vector3Generates a randomVector3with components within a specified range.static Vector3Vector3.reduceToVector3(List<Vector3> vectors, BiFunction<Vector3, Vector3, Vector3> reducer) Reduces a list of vectors into a single vector using a binary reducer function.Vector3.rotateAroundAxis(Vector3 axis, double angleDegrees) Rotates this vector around a given axis by a specified angle using Rodrigues' rotation formula.Vector3.scale(double d) Scales the vector by a scalar value.static Vector3Vector3.setXComponent(Vector3 original, double xComp) static Vector3Vector3.setYComponent(Vector3 original, double yComp) static Vector3Vector3.setZComponent(Vector3 original, double zComp) Subtracts another vector from this one.Transforms aVector3by this matrix.Methods in com.j3d.engine.math.matrix with parameters of type Vector3Modifier and TypeMethodDescriptionAdds another vector to this one.Calculates the cross product of this vector and another.doubleCalculates the Euclidean distance between this vector (as a point) and another.doubleCalculates the dot product of this vector and another.Performs component-wise multiplication (Hadamard product) with another vector.static Vector3Generates a randomVector3with components within a specified range.Vector3.rotateAroundAxis(Vector3 axis, double angleDegrees) Rotates this vector around a given axis by a specified angle using Rodrigues' rotation formula.static Vector3Vector3.setXComponent(Vector3 original, double xComp) static Vector3Vector3.setYComponent(Vector3 original, double yComp) static Vector3Vector3.setZComponent(Vector3 original, double zComp) Subtracts another vector from this one.Transforms aVector3by this matrix.Method parameters in com.j3d.engine.math.matrix with type arguments of type Vector3Modifier and TypeMethodDescriptionstatic <K> KVector3.reduce(ArrayList<Vector3> vectors, BiFunction<Vector3, K, K> reducer, K initialValue) A generic reduction function for a list of vectors.static <K> KVector3.reduce(ArrayList<Vector3> vectors, BiFunction<Vector3, K, K> reducer, K initialValue) A generic reduction function for a list of vectors.static Vector3Vector3.reduceToVector3(List<Vector3> vectors, BiFunction<Vector3, Vector3, Vector3> reducer) Reduces a list of vectors into a single vector using a binary reducer function.static Vector3Vector3.reduceToVector3(List<Vector3> vectors, BiFunction<Vector3, Vector3, Vector3> reducer) Reduces a list of vectors into a single vector using a binary reducer function.static Vector3Vector3.reduceToVector3(List<Vector3> vectors, BiFunction<Vector3, Vector3, Vector3> reducer) Reduces a list of vectors into a single vector using a binary reducer function.static Vector3Vector3.reduceToVector3(List<Vector3> vectors, BiFunction<Vector3, Vector3, Vector3> reducer) Reduces a list of vectors into a single vector using a binary reducer function. -
Uses of Vector3 in com.j3d.engine.math.plane
Fields in com.j3d.engine.math.plane declared as Vector3Modifier and TypeFieldDescriptionprivate final Vector3NormalPlane.normalThe field for thenormalrecord component.private final Vector3AxisPlane.originThe field for theoriginrecord component.private final Vector3NormalPlane.originThe field for theoriginrecord component.private final Vector3AxisPlane.v1The field for thev1record component.private final Vector3AxisPlane.v2The field for thev2record component.Methods in com.j3d.engine.math.plane that return Vector3Modifier and TypeMethodDescriptionNormalPlane.normal()Returns the value of thenormalrecord component.AxisPlane.origin()Returns the value of theoriginrecord component.NormalPlane.origin()Returns the value of theoriginrecord component.AxisPlane.toWorld(CartesianPoint point) AxisPlane.v1()Returns the value of thev1record component.AxisPlane.v2()Returns the value of thev2record component.Methods in com.j3d.engine.math.plane with parameters of type Vector3Modifier and TypeMethodDescriptionstatic NormalPlaneCreates aNormalPlanefrom three points in 3D space.booleanChecks if a given 3D point lies on this plane.static AxisPlaneAxisPlane.usingOrigin(Vector3 origin, AxisPlane original) static AxisPlaneReturns a plane representing the XY-plane.static NormalPlaneCreates aNormalPlanethat is parallel to the XY-plane.static AxisPlaneReturns a plane representing the XZ-plane.static NormalPlaneCreates aNormalPlanethat is parallel to the XZ-plane.static AxisPlaneReturns a plane representing the ZY-plane.static NormalPlaneCreates aNormalPlanethat is parallel to the ZY-plane (or YZ-plane).Constructors in com.j3d.engine.math.plane with parameters of type Vector3 -
Uses of Vector3 in com.j3d.engine.math.rot
Methods in com.j3d.engine.math.rot that return Vector3Modifier and TypeMethodDescriptionRotation.toRadVector3()Converts the rotation angles from degrees to radians and returns them as a Vector3. -
Uses of Vector3 in com.j3d.engine.react.events.payloads
Fields in com.j3d.engine.react.events.payloads declared as Vector3Methods in com.j3d.engine.react.events.payloads that return Vector3Constructors in com.j3d.engine.react.events.payloads with parameters of type Vector3 -
Uses of Vector3 in com.j3d.engine.scene
Fields in com.j3d.engine.scene declared as Vector3Modifier and TypeFieldDescriptionprivate Vector3Camera.positionThe 3D position of the camera in the world (c).private Vector3Camera.projectionPlaneThe position of the display surface relative to the camera's local coordinate system.Methods in com.j3d.engine.scene that return Vector3Modifier and TypeMethodDescriptionCamera.getForward()Calculates the camera's forward-facing direction vector in world space.Camera.getPosition()Gets the positionCamera.getProjectionPlane()Gets the projection planeCamera.getRight()Calculates the camera's right-facing direction vector in world space.Camera.getUp()Calculates the camera's up-facing direction vector in world space.Methods in com.j3d.engine.scene with parameters of type Vector3Modifier and TypeMethodDescriptionvoidSceneManager.drawLine3D(Graphics2D g, Vector3 start, Vector3 end, Camera cam) voidSceneManager.drawText3D(Graphics2D g, Vector3 location, String text, Camera cam) Draws 3D text at a specified location in the scene.voidSceneManager.drawText3D(Graphics2D g, Vector3 location, String text, Camera cam, Color bgColor, Color fgColor) Draws 3D text at a specified location in the scene with custom background and foreground colors.voidSceneManager.drawTriangle3D(Graphics2D graphics2D, Vector3 pos1, Vector3 pos2, Vector3 pos3) voidOrients the camera to look at a specific target point in world space.voidMoves the camera by a given delta vector.Camera.setPosition(Vector3 position) Sets the positionCamera.setPositionNoEvent(Vector3 position) Camera.setProjectionPlane(Vector3 projectionPlane) Sets the projection planeMethod parameters in com.j3d.engine.scene with type arguments of type Vector3Modifier and TypeMethodDescriptionvoidSceneManager.drawPoly3D(Graphics2D g, ArrayList<Vector3> points) Constructors in com.j3d.engine.scene with parameters of type Vector3 -
Uses of Vector3 in com.j3d.engine.scene.draw
Methods in com.j3d.engine.scene.draw that return Vector3 -
Uses of Vector3 in com.j3d.engine.scene.nodes
Fields in com.j3d.engine.scene.nodes declared as Vector3Modifier and TypeFieldDescriptionprivate Vector3Thing.centroidThe centroid of the Thing, calculated from the GPoints it contains.Methods in com.j3d.engine.scene.nodes that return Vector3Methods in com.j3d.engine.scene.nodes with parameters of type Vector3Modifier and TypeMethodDescriptionRotates the Thing around a given axis by a given angle.Rotates the Thing around a given axis by a given angle.Scales the Thing by a vector factor around its centroid.Translates the Thing by a given vector. -
Uses of Vector3 in com.j3d.engine.scene.nodes.geometry
Fields in com.j3d.engine.scene.nodes.geometry declared as Vector3Fields in com.j3d.engine.scene.nodes.geometry with type parameters of type Vector3Methods in com.j3d.engine.scene.nodes.geometry that return Vector3Modifier and TypeMethodDescriptionGLine.getDupeObjectToCheck()GTri.getDupeObjectToCheck()GObject.getPivot()Returns the pivot point.GTri.normal()Calculates the normal vector of the triangle given three vertices.GCurve.point(double t) Methods in com.j3d.engine.scene.nodes.geometry with parameters of type Vector3Modifier and TypeMethodDescriptionstatic GPointConstructs a GPoint.voidSets the pivot point.voidConstructors in com.j3d.engine.scene.nodes.geometry with parameters of type Vector3 -
Uses of Vector3 in com.j3d.engine.scene.nodes.geometry.base
Methods in com.j3d.engine.scene.nodes.geometry.base that return Vector3Methods in com.j3d.engine.scene.nodes.geometry.base that return types with arguments of type Vector3Modifier and TypeMethodDescriptionWinding.toVector3List()Converts the winding into an ordered list of its constituentVector3pivots. -
Uses of Vector3 in com.j3d.engine.scene.nodes.util
Methods in com.j3d.engine.scene.nodes.util that return types with arguments of type Vector3Modifier and TypeMethodDescriptionGenerates a list of Vector3 points forming a regular N-gon (polygon) on a specified axisPlane.Method parameters in com.j3d.engine.scene.nodes.util with type arguments of type Vector3Modifier and TypeMethodDescriptionstatic voidSampler.joinNGonArbitaryVectors(ArrayList<Vector3> vector3list, Graphics2D g) static <T> ArrayList<T> Generates a list of points forming a regular N-gon (polygon) on a specified axisPlane. -
Uses of Vector3 in com.j3d.jaiva.packs.getters
Fields in com.j3d.jaiva.packs.getters declared as Vector3Constructors in com.j3d.jaiva.packs.getters with parameters of type Vector3 -
Uses of Vector3 in com.j3d.ui.engine.floating.grid2d
Fields in com.j3d.ui.engine.floating.grid2d declared as Vector3Modifier and TypeFieldDescriptionprivate Vector3Grid2DPanel.originprivate Vector3Grid2DPanel.v1private Vector3Grid2DPanel.v2Methods in com.j3d.ui.engine.floating.grid2d that return Vector3Modifier and TypeMethodDescriptionprivate Vector3Grid2DPanel.getOrigin()Grid2DPanel.getV1()Grid2DPanel.getV2()private Vector3Grid2DPanel.parseV3Str(String accumulator) Methods in com.j3d.ui.engine.floating.grid2d with parameters of type Vector3Modifier and TypeMethodDescription(package private) voidprivate voidGrid2DPanel.setSpinnerState(Grid2DPanel.SpinnerIdentifier spinnerIdentifier, Vector3 v) (package private) void(package private) void -
Uses of Vector3 in com.j3d.ui.engine.floating.properties.panels
Fields in com.j3d.ui.engine.floating.properties.panels with type parameters of type Vector3Methods in com.j3d.ui.engine.floating.properties.panels that return types with arguments of type Vector3Constructors in com.j3d.ui.engine.floating.properties.panels with parameters of type Vector3