viewed 60 times and licensed 7 times
The number of corners found on regular shapes
View version details
Contents  |
|
Interface
#include <codecogs/geometry/corners.h>
| enum | shapes A list of regular shapes, ordered by the number of corners |
| double | corners (shapes shape) Returns the number of corners found on regular shapes. |
Function Documentation
This function is really just wrapper to the underlying
enum that defines the number of corners found on a set of regular shapes.
Parameters:
Returns:
- the number of corners
Authors:
- Code Cogs (January 2008)
Other Documentation
| Shape | Corners |
| dot | 1 |
| line | 2 |
| triangle | 3 |
| square | 4 |
| polygon | 5 |
| hexagon | 6 |
| septagon | 7 |
| octagon | 8 |
Page Comments
You must login to leave a messge
Last Modified: 24 Feb 08 @ 10:35 Page Rendered: 2010-03-14 23:45:55