BRL-CAD
pnts_brep.cpp
Go to the documentation of this file.
1 /* P N T S _ B R E P . C P P
2  * BRL-CAD
3  *
4  * Copyright (c) 2012-2014 United States Government as represented by
5  * the U.S. Army Research Laboratory.
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public License
9  * version 2.1 as published by the Free Software Foundation.
10  *
11  * This library is distributed in the hope that it will be useful, but
12  * WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this file; see the file named COPYING for more
18  * information.
19  */
20 /** @file pnts_brep.cpp
21  *
22  * The b-rep conversion of primitive PNTS (Point Cloud) should be
23  * ignored. Return a NULL ON_Brep pointer.
24  *
25  */
26 
27 #include "common.h"
28 
29 #include "raytrace.h"
30 #include "rtgeom.h"
31 #include "brep.h"
32 
33 
34 extern "C" void
35 rt_pnts_brep(ON_Brep **b, const struct rt_db_internal *ip, const struct bn_tol *)
36 {
37  struct rt_pnts_internal *pip;
38 
40  pip = (struct rt_pnts_internal *)ip->idb_ptr;
41  RT_PNTS_CK_MAGIC(pip);
42 
43  *b = NULL;
44 }
45 
46 
47 // Local Variables:
48 // tab-width: 8
49 // mode: C++
50 // c-basic-offset: 4
51 // indent-tabs-mode: t
52 // c-file-style: "stroustrup"
53 // End:
54 // ex: shiftwidth=4 tabstop=8
Header file for the BRL-CAD common definitions.
#define RT_CK_DB_INTERNAL(_p)
Definition: raytrace.h:207
Support for uniform tolerances.
Definition: tol.h:71
void rt_pnts_brep(ON_Brep **b, const struct rt_db_internal *ip, const struct bn_tol *)
Definition: pnts_brep.cpp:35
void * idb_ptr
Definition: raytrace.h:195