|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.geometry.SpatialForm
com.kuka.nav.geometry.SpatialForm2D
com.kuka.nav.geometry.Circle
public class Circle
Implements a circle as a spatial form. The sphere is defined with a radius and a frame in the center.
| Constructor Summary | |
|---|---|
Circle(double radius)
Creates a new circle instance with a given radius. |
|
| Method Summary | |
|---|---|
boolean |
approxEquals(SpatialForm2D other,
double epsilon)
Compares this form with another form and permits a degree of inaccuracy. |
boolean |
equals(Object obj)
|
com.kuka.geometry.Frame |
getCenter()
Gets the center frame of the sphere. |
double |
getRadius()
Gets the radius. |
int |
hashCode()
|
void |
setRadius(double radius)
Sets the radius. |
| Methods inherited from class com.kuka.nav.geometry.SpatialForm2D |
|---|
getName, setName |
| Methods inherited from class com.kuka.geometry.SpatialForm |
|---|
createFrame, getOwnerObject, getReferenceFrame, setOwnerObject, setReferenceFrame |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Circle(double radius)
radius - radius of the sphere| Method Detail |
|---|
public double getRadius()
public void setRadius(double radius)
radius - radius of the spherepublic com.kuka.geometry.Frame getCenter()
public int hashCode()
hashCode in class SpatialForm2Dpublic boolean equals(Object obj)
equals in class SpatialForm2D
public boolean approxEquals(SpatialForm2D other,
double epsilon)
SpatialForm2D
approxEquals in class SpatialForm2Dother - another formepsilon - the maximum envelope that coordinates can differ to still be
considered equal
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||