Shape::GetShapeType
Defined in:
Returns the specific type of a shape.
C4Shapes.h
Prototype
ShapeType GetShapeType(void) const;
Description
The GetShapeType
function returns the specific shape type, which can be one of the following constants.
kShapeBox |
Box shape. |
kShapePyramid |
Pyramid shape. |
kShapeCylinder |
Cylinder shape. |
kShapeCone |
Cone shape. |
kShapeSphere |
Sphere shape. |
kShapeDome |
Dome shape. |
kShapeCapsule |
Capsule shape. |
kShapeTruncatedPyramid |
Truncated pyramid shape. |
kShapeTruncatedCone |
Truncated cone shape. |
kShapeTruncatedDome |
Truncated dome shape. |