User Manual, Developers Guide and API Documentation

wns::geometry::AxisParallelRectangle Class Reference

#include <geometry/AxisParallelRectangle.hpp>

Inheritance diagram for wns::geometry::AxisParallelRectangle:

Inheritance graph
[legend]
Collaboration diagram for wns::geometry::AxisParallelRectangle:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 AxisParallelRectangle (const wns::pyconfig::View &config)
 AxisParallelRectangle (const Point &a, const Vector &db)
 AxisParallelRectangle (const Point &a, const Point &b)
 AxisParallelRectangle ()
bool bordersIntersect (const LineSegment &line) const
bool contains (const AxisParallelRectangle &other) const
bool contains (const wns::geometry::Point &point) const
virtual unsigned int countBorderIntersections (const LineSegment &line) const
Point getA () const
Point getB () const
bool intersects (const wns::geometry::LineSegment &line) const
bool intersects (const AxisParallelRectangle &other) const


Detailed Description

Definition at line 41 of file AxisParallelRectangle.hpp.


Constructor & Destructor Documentation

AxisParallelRectangle::AxisParallelRectangle (  ) 

Definition at line 34 of file AxisParallelRectangle.cpp.

AxisParallelRectangle::AxisParallelRectangle ( const Point a,
const Point b 
)

Definition at line 38 of file AxisParallelRectangle.cpp.

AxisParallelRectangle::AxisParallelRectangle ( const Point a,
const Vector db 
)

Definition at line 44 of file AxisParallelRectangle.cpp.

AxisParallelRectangle::AxisParallelRectangle ( const wns::pyconfig::View config  ) 

Definition at line 50 of file AxisParallelRectangle.cpp.


Member Function Documentation

bool AxisParallelRectangle::bordersIntersect ( const LineSegment line  )  const

Definition at line 96 of file AxisParallelRectangle.cpp.

bool AxisParallelRectangle::contains ( const AxisParallelRectangle other  )  const

Definition at line 65 of file AxisParallelRectangle.cpp.

bool AxisParallelRectangle::contains ( const wns::geometry::Point point  )  const [virtual]

Implements wns::geometry::Shape2D.

Definition at line 59 of file AxisParallelRectangle.cpp.

unsigned int AxisParallelRectangle::countBorderIntersections ( const LineSegment line  )  const [virtual]

Definition at line 86 of file AxisParallelRectangle.cpp.

Point wns::geometry::AxisParallelRectangle::getA (  )  const [inline]

Definition at line 50 of file AxisParallelRectangle.hpp.

Point wns::geometry::AxisParallelRectangle::getB (  )  const [inline]

Definition at line 55 of file AxisParallelRectangle.hpp.

bool AxisParallelRectangle::intersects ( const wns::geometry::LineSegment line  )  const

Definition at line 77 of file AxisParallelRectangle.cpp.

bool AxisParallelRectangle::intersects ( const AxisParallelRectangle other  )  const

Definition at line 71 of file AxisParallelRectangle.cpp.


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

Generated on Sat May 26 03:32:54 2012 for openWNS by  doxygen 1.5.5