#include <HWindowInfoOOC.h>

Public Member Functions

bool AcceptPoint (ooc::Point const &world_point) const
 
 HWindowInfoOOC ()
 
bool RejectBounding (ooc::Point const (&world_bounds)[8]) const
 

Static Public Member Functions

static HWindowInfoOOC Rectangle (HBaseView &view, ooc::Point const &window_min, ooc::Point const &window_max)
 
static HWindowInfoOOC Triangle (HBaseView &view, ooc::Point const &p1, ooc::Point const &p2, ooc::Point const &p3)
 

Detailed Description

This class represents either a rectangular or triangular window-space area to filter OOC points with.

Constructor & Destructor Documentation

◆ HWindowInfoOOC()

HWindowInfoOOC::HWindowInfoOOC ( )
inline

Constructs an invalid HWindowInfoOOC object.

Member Function Documentation

◆ AcceptPoint()

bool HWindowInfoOOC::AcceptPoint ( ooc::Point const &  world_point) const

Determines if a point is rejected based on intersection with the area this object represents.

Parameters
world_pointThe point to test against.
Returns
Returns true if the area this object represents does not contain world_point.

◆ Rectangle()

static HWindowInfoOOC HWindowInfoOOC::Rectangle ( HBaseView view,
ooc::Point const &  window_min,
ooc::Point const &  window_max 
)
static

Constructs a rectangular window-space area.

Parameters
viewA reference to an HBaseView object.
window_minThe minimum corner of the rectangle to use.
window_maxThe maximum corner of the rectangle to use.
Returns
Returns an HWindowInfoOOC object represeting the given rectangle.

◆ RejectBounding()

bool HWindowInfoOOC::RejectBounding ( ooc::Point const (&)  world_bounds[8]) const

Determines if a bounding box is rejected based on intersection with the area this object represents.

Parameters
world_boundsThe corners of the bounding box to test against.
Returns
Returns true if the area this object represents does not intersect with world_bounds.

◆ Triangle()

static HWindowInfoOOC HWindowInfoOOC::Triangle ( HBaseView view,
ooc::Point const &  p1,
ooc::Point const &  p2,
ooc::Point const &  p3 
)
static

Constructs a triangular window-space area.

Parameters
viewA reference to an HBaseView object.
p1The first point of the triangle to use.
p2The second point of the triangle to use.
p3The third point of the triangle to use.
Returns
Returns an HWindowInfoOOC object representing the given triangle.

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