Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
propbasic.h
Go to the documentation of this file.
1 /* *******************************************************************
2  * Rocstar Simulation Suite *
3  * Copyright@2015, Illinois Rocstar LLC. All rights reserved. *
4  * *
5  * Illinois Rocstar LLC *
6  * Champaign, IL *
7  * www.illinoisrocstar.com *
8  * sales@illinoisrocstar.com *
9  * *
10  * License: See LICENSE file in top level of distribution package or *
11  * http://opensource.org/licenses/NCSA *
12  *********************************************************************/
13 /* *******************************************************************
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, *
15  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES *
16  * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND *
17  * NONINFRINGEMENT. IN NO EVENT SHALL THE CONTRIBUTORS OR *
18  * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
19  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, *
20  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE *
21  * USE OR OTHER DEALINGS WITH THE SOFTWARE. *
22  *********************************************************************/
23 // $Id: propbasic.h,v 1.6 2008/12/06 08:45:27 mtcampbe Exp $
24 
25 #ifndef __PROP_BASIC_H
26 #define __PROP_BASIC_H
27 
28 #define PROP_BEGIN_NAMESPACE namespace PROP {
29 #define PROP_END_NAMESPACE }
30 #define USE_PROP_NAMESPACE using namespace PROP;
31 
32 #include "../Rocsurf/include/Manifold_2.h"
33 
35 
36 using SURF::Node;
37 using SURF::Halfedge;
38 using SURF::Edge_ID;
39 
40 using SURF::get_normal;
41 using SURF::get_tangent;
42 
45 
46 typedef SURF::Window_manifold_2 Manifold;
47 typedef SURF::Point_3<double> Point_3;
48 typedef SURF::Point_2<double> Point_2;
49 typedef SURF::Vector_3<double> Vector_3;
50 typedef SURF::Vector_2<double> Vector_2;
51 
53 
54 #endif
55 
56 
57 
58 
59 
60 
SURF::Vector_2< Real > Vector_2
Definition: rfc_basic.h:44
#define PROP_END_NAMESPACE
Definition: propbasic.h:29
#define PROP_BEGIN_NAMESPACE
Definition: propbasic.h:28
MAP::Facet_ID Edge_ID
Definition: Manifold_2.h:49
Vector_3< Real > get_tangent(const Halfedge &h)
Get the tangent of the given halfedge.
Definition: Manifold_2.h:704
SURF::Vector_3< Real > Vector_3
Definition: rfc_basic.h:42
Vector_3< Real > get_normal(const Halfedge &h, const Vector_2< Real > &nc)
Get the face normal of a point in the element incident on h.
Definition: Manifold_2.C:1240
SURF::Window_manifold_2 Manifold
Definition: propbasic.h:46
SURF::Point_3< Real > Point_3
Definition: rfc_basic.h:41
SURF::Vector_2< Real > Point_2
Definition: rfc_basic.h:43