HPS::OOC::Area

class HPS.OOC.Area : public IDisposable

The Area class is represents a quadrilateral area for highlighting.

Public Functions

Area ()
Area (HPS.OOC.Area in_that)
Area (HPS.Rectangle in_rect, HPS.MatrixKit in_world_to_window, string in_name)
void Dispose ()
string GetName ()

Returns the name associated with this Area

HPS.Point GetWindowMax ()
HPS.Point GetWindowMin ()
HPS.MatrixKit GetWorldToWindow ()

Returns the MatrixKit associated with this Area

bool Intersects (HPS.Point world_space_point)

Determines if a point intersects this Area.

Param world_space_point

The point to test

Return

true if the point intersects this area, false otherwise.

bool Intersects (HPS.SimpleCuboid world_space_bounding)

Determines if a cuboid intersects this Area.

Param world_space_bounding

The cuboid to test

Return

true if the cuboid interects this area, false otherwise.