Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
PartitionFilterIrregularArea Class Reference

#include <PartitionManager.h>

Inherits PartitionFilter.

Public Member Functions

 PartitionFilterIrregularArea (Coord3D *area, Int numPointsInArea)
 

Protected Member Functions

virtual Bool allow (Object *other)
 

Detailed Description

Reject all objects outside of the irregularly shaped area defined by the set of points passed in at creation. This is done using the even-odd rule against the points, assuming that the area is closed.

Definition at line 1037 of file PartitionManager.h.

Constructor & Destructor Documentation

◆ PartitionFilterIrregularArea()

PartitionFilterIrregularArea::PartitionFilterIrregularArea ( Coord3D * area,
Int numPointsInArea )
inline

Definition at line 1044 of file PartitionManager.h.

Member Function Documentation

◆ allow()

Bool PartitionFilterIrregularArea::allow ( Object * other)
protectedvirtual

Implements PartitionFilter.

Definition at line 5066 of file PartitionManager.cpp.


The documentation for this class was generated from the following files: