moab
Range.cpp File Reference
#include <assert.h>
#include "moab/Range.hpp"
#include "Internals.hpp"
#include "moab/CN.hpp"
#include <iostream>
#include <string>
#include <algorithm>

Go to the source code of this file.

Namespaces

namespace  moab
 

Class representing axis-aligned bounding box.


Defines

#define MAX(a, b)   (a < b ? b : a)
#define MIN(a, b)   (a > b ? b : a)

Functions

static moab::Range::PairNodealloc_pair (moab::Range::PairNode *n, moab::Range::PairNode *p, moab::EntityHandle f, moab::EntityHandle s)
static void free_pair (moab::Range::PairNode *node)
Range moab::intersect (const Range &, const Range &)
 intersect two ranges, placing the results in the return range
Range moab::subtract (const Range &from, const Range &)
 subtract range2 from this, placing the results in the return range
EntityID moab::operator- (const Range::const_iterator &it1, const Range::const_iterator &it2)
bool moab::operator== (const Range &r1, const Range &r2)

Define Documentation

#define MAX (   a,
 
)    (a < b ? b : a)

Definition at line 624 of file Range.cpp.

#define MIN (   a,
 
)    (a > b ? b : a)

Definition at line 625 of file Range.cpp.


Function Documentation

MOAB, a Mesh-Oriented datABase, is a software component for creating, storing and accessing finite element mesh data.

Copyright 2004 Sandia Corporation. Under the terms of Contract DE-AC04-94AL85000 with Sandia Coroporation, the U.S. Government retains certain rights in this software.

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

Definition at line 51 of file Range.cpp.

    { return new moab::Range::PairNode(n,p,f,s); }
static void free_pair ( moab::Range::PairNode node) [inline, static]

Definition at line 53 of file Range.cpp.

    { delete node; }
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines