jbt_square Class Reference
Square skeleton class. More...
#include <square.h>
Inherits jbt_primitive.
List of all members.
Public Members
Detailed Description
Square skeleton class.
A square skeleton generates a spherical scalar field around the origin.
Member Function Documentation
jbt_square::jbt_square( jFlt xr = 1.0, jFlt zr = 1.0, jFlt field_radius = 1.0 )
Build a new square skeleton,
-
Parameters:
-
xr - the distance from the origin to the edge of the square
along the x axis
-
zr - the distance from the origin to the edge of the square
along the z axis
jbt_object::Type jbt_square::type() const
jFlt jbt_square::getSquareXRadius() const
Returns the x radius of the square.
void jbt_square::setSquareXRadius( jFlt dr )
Sets the x radius of the square.
jFlt jbt_square::getSquareZRadius() const
Returns the z radius of the square.
void jbt_square::setSquareZRadius( jFlt dr )
Sets the z radius of the square.
The documentation for this class was generated from the following file:
JSP /
libjbt v0.1
mtigges@cpsc.ucalgary.ca