Package | Description |
---|---|
org.apache.commons.geometry.euclidean.threed |
This package provides basic 3D geometry components.
|
Modifier and Type | Method and Description |
---|---|
static SphericalCoordinates |
SphericalCoordinates.fromCartesian(double x,
double y,
double z)
Convert the given set of Cartesian coordinates to spherical coordinates.
|
static SphericalCoordinates |
SphericalCoordinates.fromCartesian(Vector3D vec)
Convert the given set of Cartesian coordinates to spherical coordinates.
|
static SphericalCoordinates |
SphericalCoordinates.of(double radius,
double azimuth,
double polar)
Return a new instance with the given spherical coordinate values.
|
static SphericalCoordinates |
SphericalCoordinates.parse(String input)
Parse the given string and return a new
SphericalCoordinates instance. |
Copyright © 2016–2021 The Apache Software Foundation. All rights reserved.