Public Member Functions | Private Attributes
edu.tum.cs.vis.model.util.BSphere Class Reference

List of all members.

Public Member Functions

 BSphere (float r, Vector3f center)
float getArea ()
Vector3f getCenter ()
float getR ()
float getVolume ()

Private Attributes

final Vector3f center
final float r

Detailed Description

Class which represents a bounding sphere by center and radius.

Author:
Stefan Profanter

Definition at line 18 of file BSphere.java.


Constructor & Destructor Documentation

edu.tum.cs.vis.model.util.BSphere.BSphere ( float  r,
Vector3f  center 
) [inline]

Create new bounding sphere with radius r and center center

Parameters:
rradius of bounding sphere
centercenter of bounding sphere

Definition at line 36 of file BSphere.java.


Member Function Documentation

Get area of bounding sphere.

Returns:
area

Definition at line 64 of file BSphere.java.

Get center of bounding sphere

Returns:
the center

Definition at line 46 of file BSphere.java.

Get radius of bounding sphere.

Returns:
the radius

Definition at line 55 of file BSphere.java.

Get volume of bounding sphere

Returns:
volume

Definition at line 74 of file BSphere.java.


Member Data Documentation

final Vector3f edu.tum.cs.vis.model.util.BSphere.center [private]

center

Definition at line 26 of file BSphere.java.

final float edu.tum.cs.vis.model.util.BSphere.r [private]

radius

Definition at line 22 of file BSphere.java.


The documentation for this class was generated from the following file:


knowrob_cad_parser
Author(s): Stefan Profanter
autogenerated on Sat Dec 28 2013 17:09:45