|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.geometry.SpatialForm
com.kuka.geometry.forms.Sphere
public class Sphere
Implements a sphere as a spatial form. The sphere is defined with a radius and a frame in the center.
| Constructor Summary | |
|---|---|
Sphere(double radius)
Creates a new sphere instance with a given radius. |
|
| Method Summary | |
|---|---|
LocalFrame |
createSurfaceFrame(String name,
double phi,
double theta)
Creates a frame on the surface of the sphere. |
Frame |
getCenter()
Gets the center frame of the sphere. |
double |
getRadius()
Gets the radius. |
void |
setRadius(double radius)
Sets the radius. |
| Methods inherited from class com.kuka.geometry.SpatialForm |
|---|
createFrame, getOwnerObject, getReferenceFrame, setOwnerObject, setReferenceFrame |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Sphere(double radius)
radius - radius of the sphere| Method Detail |
|---|
public double getRadius()
public void setRadius(double radius)
radius - radius of the spherepublic Frame getCenter()
public LocalFrame createSurfaceFrame(String name,
double phi,
double theta)
name - the name of the framephi - the azimuth angle of the surface frame in [rad]theta - the polar angle of the surface frame in [rad]
SphericalConnection
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||