public class Sphered extends Object
| Constructor and Description |
|---|
Sphered()
|
Sphered(double x,
double y,
double z,
double r)
|
Sphered(Sphered source)
Create a new
Sphered as a copy of the given source. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
String |
toString()
Return a string representation of this sphere.
|
String |
toString(NumberFormat formatter)
Return a string representation of this sphere by formatting the components with the given
NumberFormat. |
public Sphered()
public Sphered(Sphered source)
Sphered as a copy of the given source.source - the Sphered to copy frompublic Sphered(double x,
double y,
double z,
double r)
x - the x coordinate of the sphere's centery - the y coordinate of the sphere's centerz - the z coordinate of the sphere's centerr - the radius of the spherepublic String toString()
This method creates a new DecimalFormat on every invocation with the format string "0.000E0;-".
public String toString(NumberFormat formatter)
NumberFormat.formatter - the NumberFormat used to format the components withCopyright © 2015–2019 JOML. All rights reserved.