ShapeOp
Main Page
Related Pages
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Macros
Pages
libShapeOp
src
Common.h
Go to the documentation of this file.
1
// This file is part of ShapeOp, a lightweight C++ library
3
// for static and dynamic geometry processing.
4
//
5
// Copyright (C) 2014 Sofien Bouaziz <sofien.bouaziz@gmail.com>
6
// Copyright (C) 2014 LGG EPFL
7
//
8
// This Source Code Form is subject to the terms of the Mozilla
9
// Public License v. 2.0. If a copy of the MPL was not distributed
10
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
12
#ifndef COMMON_H
13
#define COMMON_H
14
17
19
#ifndef SHAPEOP_SCALAR
20
#define SHAPEOP_SCALAR double
21
#endif
22
typedef
SHAPEOP_SCALAR
ShapeOpScalar;
24
#if defined(_WIN32) || defined(_WIN64)
25
#ifdef SHAPEOP_EXPORT
26
#define SHAPEOP_API __declspec(dllexport)
27
#else
28
#define SHAPEOP_API __declspec(dllimport)
29
#endif
30
#else
31
#define SHAPEOP_API
32
#endif
33
#ifdef SHAPEOP_HEADER_ONLY
35
#define SHAPEOP_INLINE inline
36
#else
37
#define SHAPEOP_INLINE
38
#endif
39
#endif // COMMON_H
41
SHAPEOP_SCALAR
#define SHAPEOP_SCALAR
Defines the scalar type used by the ShapeOp solver (float or double).
Definition:
Common.h:20
Generated on Fri Sep 12 2014 09:37:55 for ShapeOp by
1.8.7