00001 #include "StiPlanarShape.h" 00002 00003 StiPlanarShape::StiPlanarShape(const string &name, 00004 float halfDepth, 00005 float thickness, float halfWidth) 00006 : StiShape(name,halfDepth, thickness), 00007 _halfWidth(halfWidth) 00008 {}// StiPlanarShape() 00009 00010 void StiPlanarShape::setHalfWidth(float val){ 00011 if(val >= 0.){ _halfWidth = val; } 00012 }// setHalfWidth()
1.5.9