#include <SineStarFactory.h>
Inheritance diagram for geos::geom::util::SineStarFactory:
Public Member Functions | |
SineStarFactory (const geom::GeometryFactory *fact) | |
void | setNumArms (int nArms) |
void | setArmLengthRatio (double armLenRatio) |
std::auto_ptr< Polygon > | createSineStar () const |
Protected Attributes | |
int | numArms |
double | armLengthRatio |
|
Creates a factory which will create sine stars using the given GeometryFactory.
|
|
Generates the geometry for the sine star
|
|
Sets the ration of the length of each arm to the distance from the tip of the arm to the centre of the star. Value should be between 0.0 and 1.0
|
|
Sets the number of arms in the star
|