public class Circlef extends Object
| Constructor and Description |
|---|
Circlef()
|
Circlef(Circlef source)
Create a new
Circlef as a copy of the given source. |
Circlef(float x,
float y,
float r)
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
String |
toString()
Return a string representation of this circle.
|
String |
toString(NumberFormat formatter)
Return a string representation of this circle by formatting the vector components with the given
NumberFormat. |
public Circlef()
public Circlef(Circlef source)
Circlef as a copy of the given source.source - the Circlef to copy frompublic Circlef(float x,
float y,
float r)
x - the x coordinate of the circle's centery - the y coordinate of the circle's centerr - the radius of the circlepublic 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.