#include <PlacementTypeBounds.h>

Public Member Functions | |
| PlacementTypeBounds () | |
| virtual | ~PlacementTypeBounds () |
| virtual PlacementType::Type | getType () |
| virtual bool | readXML (XMLNode *node) |
| virtual void | getPositions (ScorchedContext &context, RandomGenerator &generator, std::list< Position > &returnPositions, ProgressCounter *counter=0) |
Protected Attributes | |
| int | count |
| FixedVector | minbounds |
| FixedVector | maxbounds |
Definition at line 26 of file PlacementTypeBounds.h.
| PlacementTypeBounds::PlacementTypeBounds | ( | ) |
Definition at line 29 of file PlacementTypeBounds.cpp.
| PlacementTypeBounds::~PlacementTypeBounds | ( | ) | [virtual] |
Definition at line 33 of file PlacementTypeBounds.cpp.
| virtual PlacementType::Type PlacementTypeBounds::getType | ( | ) | [inline, virtual] |
Implements PlacementType.
Definition at line 32 of file PlacementTypeBounds.h.
References PlacementType::eBounds.
| bool PlacementTypeBounds::readXML | ( | XMLNode * | node | ) | [virtual] |
Reimplemented from PlacementType.
Definition at line 37 of file PlacementTypeBounds.cpp.
References count, XMLNode::getNamedChild(), maxbounds, minbounds, PlacementType::readXML(), and XMLNode::returnError().
| void PlacementTypeBounds::getPositions | ( | ScorchedContext & | context, | |
| RandomGenerator & | generator, | |||
| std::list< Position > & | returnPositions, | |||
| ProgressCounter * | counter = 0 | |||
| ) | [virtual] |
Definition at line 54 of file PlacementTypeBounds.cpp.
References count, LandscapeMaps::getGroundMaps(), ScorchedContext::getLandscapeMaps(), RandomGenerator::getRandFixed(), maxbounds, minbounds, and FixedVector::StoreNormalize().
int PlacementTypeBounds::count [protected] |
FixedVector PlacementTypeBounds::minbounds [protected] |
FixedVector PlacementTypeBounds::maxbounds [protected] |
1.5.3