Class SphericalCoordinates.DataTransferObject
java.lang.Object
org.apache.commons.math3.geometry.euclidean.threed.SphericalCoordinates.DataTransferObject
- All Implemented Interfaces:
Serializable
- Enclosing class:
SphericalCoordinates
Internal class used only for serialization.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final long
Serializable UID.private final double
Abscissa.private final double
Ordinate.private final double
Height. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate Object
Replace the deserialized data transfer object with aSphericalCoordinates
.
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerializable UID.- See Also:
-
x
private final double xAbscissa. -
y
private final double yOrdinate. -
z
private final double zHeight.
-
-
Constructor Details
-
DataTransferObject
DataTransferObject(double x, double y, double z) Simple constructor.- Parameters:
x
- abscissay
- ordinatez
- height
-
-
Method Details
-
readResolve
Replace the deserialized data transfer object with aSphericalCoordinates
.- Returns:
- replacement
SphericalCoordinates
-