openurbs_public.h
1 /* $NoKeywords: $ */
2 /*
3 //
4 // Copyright (c) 1993-2016 Robert McNeel & Associates. All rights reserved.
5 // OpenNURBS, Rhinoceros, and Rhino3D are registered trademarks of Robert
6 // McNeel & Associates.
7 //
8 // THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY.
9 // ALL IMPLIED WARRANTIES OF FITNESS FOR ANY PARTICULAR PURPOSE AND OF
10 // MERCHANTABILITY ARE HEREBY DISCLAIMED.
11 //
12 // For complete openNURBS copyright information see <http://www.opennurbs.org>.
13 //
14 ////////////////////////////////////////////////////////////////
15 */
16 
17 ////////////////////////////////////////////////////////////////
18 //
19 // Includes all openNURBS toolkit headers required to use the
20 // openNURBS toolkit library. See readme.txt for details.
21 //
22 ////////////////////////////////////////////////////////////////
23 
24 #if !defined(OPENNURBS_PUBLIC_INC_)
25 #define OPENNURBS_PUBLIC_INC_
26 
27 #if defined(ON_COMPILING_OPENNURBS)
28 #error Never include opennurbs_public.h when building opennurbs libraries.
29 #endif
30 
31 #if defined(OPENNURBS_INC_)
32 
33 // If you are building a Rhino plug-in or using opennurbs as
34 // part of the Rhino SDK, then include opennurbs.h.
35 //
36 // If you are building your own application and linking with one of the
37 // opennurbs_public libraries for .3dm file IO, then include opennurbs_public.h.
38 //
39 #error Your project should include exactly one of opennurbs_public.h or opennurbs.h. See comment above.
40 #endif
41 
42 #if !defined(OPENNURBS_PUBLIC)
43 #define OPENNURBS_PUBLIC
44 #endif
45 
46 #include "opennurbs.h"
47 
48 #endif