Mesh Oriented datABase  (version 5.4.1)
Array-based unstructured mesh datastructure
Range.cpp File Reference
#include <cassert>
#include "moab/Range.hpp"
#include "Internals.hpp"
#include "moab/CN.hpp"
#include <iostream>
#include <sstream>
#include <string>
#include <algorithm>
+ Include dependency graph for Range.cpp:

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 Corporation, 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 58 of file Range.cpp.

Referenced by moab::Range::erase(), moab::Range::insert(), moab::Range::operator-=(), moab::Range::operator=(), moab::Range::Range(), and moab::subtract().

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

Definition at line 65 of file Range.cpp.

Referenced by moab::Range::clear(), moab::Range::delete_pair_node(), moab::Range::erase(), and moab::Range::insert().

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