1 #include "StiPlanarShape.h"
3 StiPlanarShape::StiPlanarShape(
const string &name,
5 float thickness,
float halfWidth)
6 :
StiShape(name,halfDepth, thickness),
10 void StiPlanarShape::setHalfWidth(
float val){
15 double StiPlanarShape::getVolume()
const
16 {
return getHalfWidth()*getHalfDepth()*getThickness()*4;}
float _halfWidth
Half extent in local y, always >= 0.