Uses of Class
javafx.geometry.Point3D
Package
Description
Provides the set of classes for ease of use transition based animations.
Provides the set of 2D classes for defining and performing operations on
objects related to two-dimensional geometry.
Provides the core set of base
classes for the JavaFX Scene Graph API.
Provides the set of classes for mouse and keyboard input event handling.
Provides the set of convenient classes to perform rotating, scaling,
shearing, and translation transformations for
Affine
objects.-
Uses of Point3D in javafx.animation
Modifier and TypeMethodDescriptionfinal Point3D
RotateTransition.getAxis()
Gets the value of theaxis
property.Modifier and TypeMethodDescriptionfinal ObjectProperty<Point3D>
RotateTransition.axisProperty()
Specifies the axis of rotation for thisRotateTransition
. -
Uses of Point3D in javafx.geometry
Modifier and TypeFieldDescriptionstatic final Point3D
Point3D.ZERO
Point or vector with all three coordinates set to 0.Modifier and TypeMethodDescriptionPoint3D.add
(double x, double y, double z) Returns a point with the specified coordinates added to the coordinates of this point.Returns a point with the coordinates of the specified point added to the coordinates of this point.Point2D.crossProduct
(double x, double y) Computes cross product of the vector represented by this instance and the specified vector.Point2D.crossProduct
(Point2D vector) Computes cross product of the vector represented by this instance and the specified vector.Point3D.crossProduct
(double x, double y, double z) Computes cross product of the vector represented by this instance and the specified vector.Point3D.crossProduct
(Point3D vector) Computes cross product of the vector represented by this instance and the specified vector.Point3D.interpolate
(Point3D endValue, double t) The function calculates an interpolated value along the fractiont
between0.0
and1.0
.Point3D.midpoint
(double x, double y, double z) Returns a point which lies in the middle between this point and the specified coordinates.Returns a point which lies in the middle between this point and the specified point.Point3D.multiply
(double factor) Returns a point with the coordinates of this point multiplied by the specified factorPoint3D.normalize()
Normalizes the relative magnitude vector represented by this instance.Point3D.subtract
(double x, double y, double z) Returns a point with the specified coordinates subtracted from the coordinates of this point.Returns a point with the coordinates of the specified point subtracted from the coordinates of this point.Modifier and TypeMethodDescriptionReturns a point with the coordinates of the specified point added to the coordinates of this point.double
Computes the angle (in degrees) between the vector represented by this point and the vector represented by the specified point.double
Computes the angle (in degrees) between the three points with this point as a vertex.boolean
Tests if the specified point is inside the boundary ofBounds
.abstract boolean
Tests if the specified point is inside the boundary ofBounds
.Point3D.crossProduct
(Point3D vector) Computes cross product of the vector represented by this instance and the specified vector.double
Computes the distance between this point and the specifiedpoint
.double
Point3D.dotProduct
(Point3D vector) Computes dot (scalar) product of the vector represented by this instance and the specified vector.Point3D.interpolate
(Point3D endValue, double t) The function calculates an interpolated value along the fractiont
between0.0
and1.0
.Returns a point which lies in the middle between this point and the specified point.Returns a point with the coordinates of the specified point subtracted from the coordinates of this point. -
Uses of Point3D in javafx.scene
Modifier and TypeMethodDescriptionfinal Point3D
DirectionalLight.getDirection()
Gets the value of thedirection
property.final Point3D
SpotLight.getDirection()
Gets the value of thedirection
property.final Point3D
Node.getRotationAxis()
Gets the value of therotationAxis
property.Node.localToParent
(double x, double y, double z) Transforms a point from the local coordinate space of thisNode
into the coordinate space of its parent.Node.localToParent
(Point3D localPoint) Transforms a point from the local coordinate space of thisNode
into the coordinate space of its parent.Node.localToScene
(double x, double y, double z) Transforms a point from the local coordinate space of thisNode
into the coordinate space of its scene.Node.localToScene
(double x, double y, double z, boolean rootScene) Transforms a point from the local coordinate space of thisNode
into the coordinate space of its scene.Node.localToScene
(Point3D localPoint) Transforms a point from the local coordinate space of thisNode
into the coordinate space of its scene.Node.localToScene
(Point3D localPoint, boolean rootScene) Transforms a point from the local coordinate space of thisNode
into the coordinate space of its scene.Node.parentToLocal
(double parentX, double parentY, double parentZ) Transforms a point from the coordinate space of the parent into the local coordinate space of thisNode
.Node.parentToLocal
(Point3D parentPoint) Transforms a point from the coordinate space of the parent into the local coordinate space of thisNode
.Node.sceneToLocal
(double sceneX, double sceneY, double sceneZ) Transforms a point from the coordinate space of the scene into the local coordinate space of thisNode
.Node.sceneToLocal
(Point3D scenePoint) Transforms a point from the coordinate space of the scene into the local coordinate space of thisNode
.Modifier and TypeMethodDescriptionfinal ObjectProperty<Point3D>
DirectionalLight.directionProperty()
The direction vector of the directional light.final ObjectProperty<Point3D>
SpotLight.directionProperty()
The direction vector of the spotlight.final ObjectProperty<Point3D>
Node.rotationAxisProperty()
Defines the axis of rotation of thisNode
.Modifier and TypeMethodDescriptionNode.localToParent
(Point3D localPoint) Transforms a point from the local coordinate space of thisNode
into the coordinate space of its parent.Node.localToScene
(Point3D localPoint) Transforms a point from the local coordinate space of thisNode
into the coordinate space of its scene.Node.localToScene
(Point3D localPoint, boolean rootScene) Transforms a point from the local coordinate space of thisNode
into the coordinate space of its scene.Node.localToScreen
(Point3D localPoint) Transforms a point from the local coordinate space of thisNode
into the coordinate space of itsScreen
.Node.parentToLocal
(Point3D parentPoint) Transforms a point from the coordinate space of the parent into the local coordinate space of thisNode
.Node.sceneToLocal
(Point3D scenePoint) Transforms a point from the coordinate space of the scene into the local coordinate space of thisNode
.final void
DirectionalLight.setDirection
(Point3D value) Sets the value of thedirection
property.final void
SpotLight.setDirection
(Point3D value) Sets the value of thedirection
property.final void
Node.setRotationAxis
(Point3D value) Sets the value of therotationAxis
property. -
Uses of Point3D in javafx.scene.input
Modifier and TypeMethodDescriptionfinal Point3D
PickResult.getIntersectedNormal()
Return the intersected normal of the picked 3d shape.final Point3D
PickResult.getIntersectedPoint()
Returns the intersected point in local coordinate of the picked Node.ModifierConstructorDescriptionPickResult
(Node node, Point3D point, double distance) Creates a new instance of PickResult for a non-3d-shape target.PickResult
(Node node, Point3D point, double distance, int face, Point2D texCoord) Creates a new instance of PickResult.PickResult
(Node node, Point3D point, double distance, int face, Point3D normal, Point2D texCoord) Creates a new instance of PickResult. -
Uses of Point3D in javafx.scene.transform
Modifier and TypeFieldDescriptionstatic final Point3D
Rotate.X_AXIS
Specifies the X-axis as the axis of rotation.static final Point3D
Rotate.Y_AXIS
Specifies the Y-axis as the axis of rotation.static final Point3D
Rotate.Z_AXIS
Specifies the Z-axis as the axis of rotation.Modifier and TypeMethodDescriptionTransform.deltaTransform
(double x, double y, double z) Transforms the relative magnitude vector by this transform.Transform.deltaTransform
(Point3D point) Transforms the relative magnitude vector represented by the specifiedPoint3D
instance by this transform.final Point3D
Rotate.getAxis()
Gets the value of theaxis
property.Rotate.inverseDeltaTransform
(double x, double y, double z) Transform.inverseDeltaTransform
(double x, double y, double z) Transforms the relative magnitude vector by the inverse of this transform.Transform.inverseDeltaTransform
(Point3D point) Transforms the relative magnitude vector represented by the specifiedPoint3D
instance by the inverse of this transform.Translate.inverseDeltaTransform
(double x, double y, double z) Translate.inverseDeltaTransform
(Point3D point) Rotate.inverseTransform
(double x, double y, double z) Transform.inverseTransform
(double x, double y, double z) Transforms the specified point by the inverse of this transform.Transform.inverseTransform
(Point3D point) Transforms the specified point by the inverse of this transform.Translate.inverseTransform
(double x, double y, double z) Transform.transform
(double x, double y, double z) Transforms the specified point by this transform.Transforms the specified point by this transform.Modifier and TypeMethodDescriptionfinal ObjectProperty<Point3D>
Rotate.axisProperty()
Defines the axis of rotation at the pivot point.Modifier and TypeMethodDescriptionvoid
Affine.appendRotation
(double angle, double pivotX, double pivotY, double pivotZ, Point3D axis) Appends the rotation to this instance.void
Affine.appendRotation
(double angle, Point3D pivot, Point3D axis) Appends the rotation to this instance.void
Affine.appendScale
(double sx, double sy, double sz, Point3D pivot) Appends the scale with pivot to this instance.Transform.deltaTransform
(Point3D point) Transforms the relative magnitude vector represented by the specifiedPoint3D
instance by this transform.Transform.inverseDeltaTransform
(Point3D point) Transforms the relative magnitude vector represented by the specifiedPoint3D
instance by the inverse of this transform.Translate.inverseDeltaTransform
(Point3D point) Transform.inverseTransform
(Point3D point) Transforms the specified point by the inverse of this transform.void
Affine.prependRotation
(double angle, double pivotX, double pivotY, double pivotZ, Point3D axis) Prepends the rotation to this instance.void
Affine.prependRotation
(double angle, Point3D pivot, Point3D axis) Prepends the rotation to this instance.void
Affine.prependScale
(double sx, double sy, double sz, Point3D pivot) Prepends the scale with pivot to this instance.final void
Sets the value of theaxis
property.Transforms the specified point by this transform.