public class Spheref extends Object
| Constructor and Description |
|---|
Spheref()
|
Spheref(float x,
float y,
float z,
float r)
|
Spheref(Spheref source)
Create a new
Spheref 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 Spheref()
public Spheref(Spheref source)
Spheref as a copy of the given source.source - the Spheref to copy frompublic Spheref(float x,
float y,
float z,
float 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.