Poster of Linux kernelThe best gift for a Linux geek
MeshTools::BoundingBox

MeshTools::BoundingBox

Section: C Library Functions (3) Updated: Thu Apr 7 2011
Local index Up
 

NAME

MeshTools::BoundingBox -  

SYNOPSIS


#include <mesh_tools.h>  

Public Member Functions


BoundingBox (const Point &min, const Point &max)

BoundingBox (const std::pair< Point, Point > &bbox)

const Point & min () const

Point & min ()

const Point & max () const

Point & max ()

BoundingBox & expand ()

bool intersect (const BoundingBox &) const
 

Detailed Description

Defines a Cartesian bounding box by the two corner extremum.

Definition at line 65 of file mesh_tools.h.  

Constructor & Destructor Documentation

 

MeshTools::BoundingBox::BoundingBox (const Point &min, const Point &max) [inline]

Definition at line 69 of file mesh_tools.h.

                                                     :
      std::pair<Point, Point>(min, max)
    {}
 

MeshTools::BoundingBox::BoundingBox (const std::pair< Point, Point > &bbox) [inline]

Definition at line 73 of file mesh_tools.h.

                                                    :
      std::pair<Point, Point> (bbox)
    {}
 

Member Function Documentation

 

BoundingBox& MeshTools::BoundingBox::expand () [inline]

Definition at line 89 of file mesh_tools.h.

    { return *this; }
 

bool MeshTools::BoundingBox::intersect (const BoundingBox &) const [inline]

Definition at line 92 of file mesh_tools.h.

    { return false; }
 

Point& MeshTools::BoundingBox::max () [inline]

Definition at line 86 of file mesh_tools.h.

    { return this->second; }
 

const Point& MeshTools::BoundingBox::max () const [inline]

Definition at line 83 of file mesh_tools.h.

    { return this->second; }
 

const Point& MeshTools::BoundingBox::min () const [inline]

Definition at line 77 of file mesh_tools.h.

    { return this->first; }
 

Point& MeshTools::BoundingBox::min () [inline]

Definition at line 80 of file mesh_tools.h.

    { return this->first; }

 

Author

Generated automatically by Doxygen for libMesh from the source code.


 

Index

NAME
SYNOPSIS
Public Member Functions
Detailed Description
Constructor & Destructor Documentation
MeshTools::BoundingBox::BoundingBox (const Point &min, const Point &max) [inline]
MeshTools::BoundingBox::BoundingBox (const std::pair< Point, Point > &bbox) [inline]
Member Function Documentation
BoundingBox& MeshTools::BoundingBox::expand () [inline]
bool MeshTools::BoundingBox::intersect (const BoundingBox &) const [inline]
Point& MeshTools::BoundingBox::max () [inline]
const Point& MeshTools::BoundingBox::max () const [inline]
const Point& MeshTools::BoundingBox::min () const [inline]
Point& MeshTools::BoundingBox::min () [inline]
Author

This document was created by man2html, using the manual pages.
Time: 21:50:11 GMT, April 16, 2011