libzmf::BoundingBox Struct Reference

#include <ZMFTypes.h>

List of all members.

Public Member Functions

 BoundingBox (const std::vector< Point > &points)
const std::vector< Point > & points () const
double width () const
double height () const
Point center () const
Point topLeft () const
double rotation () const
int p1Quadrant () const
int p2Quadrant () const
bool mirrorHorizontal () const
bool mirrorVertical () const

Private Member Functions

int quadrant (const Point &p) const

Private Attributes

const std::vector< Pointm_points
double m_width
double m_height
Point m_center
double m_rotation
int m_p1Quadrant
int m_p2Quadrant
bool m_mirrorHorizontal
bool m_mirrorVertical

Constructor & Destructor Documentation

libzmf::BoundingBox::BoundingBox ( const std::vector< Point > &  points)

Member Function Documentation

Referenced by topLeft().

double libzmf::BoundingBox::height ( ) const

Referenced by topLeft().

Referenced by BoundingBox().

const std::vector< Point > & libzmf::BoundingBox::points ( ) const
int libzmf::BoundingBox::quadrant ( const Point p) const [private]

Referenced by BoundingBox().

double libzmf::BoundingBox::width ( ) const

Referenced by topLeft().


Member Data Documentation

Referenced by BoundingBox(), and height().

const std::vector<Point> libzmf::BoundingBox::m_points [private]

Referenced by BoundingBox(), and points().

Referenced by BoundingBox(), and rotation().

double libzmf::BoundingBox::m_width [private]

Referenced by BoundingBox(), and width().


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