1 /*
2  * Copyright (C) 1998, 2000-2007, 2010, 2011, 2012, 2013 SINTEF ICT,
3  * Applied Mathematics, Norway.
4  *
5  * Contact information: E-mail: tor.dokken@sintef.no
6  * SINTEF ICT, Department of Applied Mathematics,
7  * P.O. Box 124 Blindern,
8  * 0314 Oslo, Norway.
9  *
10  * This file is part of SISL.
11  *
12  * SISL is free software: you can redistribute it and/or modify
13  * it under the terms of the GNU Affero General Public License as
14  * published by the Free Software Foundation, either version 3 of the
15  * License, or (at your option) any later version.
16  *
17  * SISL is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20  * GNU Affero General Public License for more details.
21  *
22  * You should have received a copy of the GNU Affero General Public
23  * License along with SISL. If not, see
24  * <http://www.gnu.org/licenses/>.
25  *
26  * In accordance with Section 7(b) of the GNU Affero General Public
27  * License, a covered work must retain the producer line in every data
28  * file that is created or manipulated using SISL.
29  *
30  * Other Usage
31  * You can be released from the requirements of the license by purchasing
32  * a commercial license. Buying such a license is mandatory as soon as you
33  * develop commercial activities involving the SISL library without
34  * disclosing the source code of your own applications.
35  *
36  * This file may be used in accordance with the terms contained in a
37  * written agreement between you and SINTEF ICT.
38  */
39 
40 #include "sisl-copyright.h"
41 
42 /*
43  *
44  * $Id: maketracks.c,v 1.1 1994-04-21 12:10:42 boh Exp $
45  *
46  */
47 
48 
49 #define MAKE_TRACKS
50 #include "sislP.h"
51 
52 #if defined (SISLNEEDPROTOTYPES)
make_tracks(SISLObject * po1,SISLObject * po2,int ideg,double eimpli[],int icrv,SISLIntlist ** vlist,int * jtrack,SISLTrack *** wcrv,double aepsge,int * jstat)53 void make_tracks (SISLObject * po1, SISLObject * po2, int ideg,
54 		  double eimpli[], int icrv, SISLIntlist ** vlist,
55 		  int *jtrack,SISLTrack *** wcrv, double aepsge, int *jstat)
56 #else
57 void make_tracks (po1, po2, ideg,eimpli, icrv, vlist,
58 		  jtrack,wcrv, aepsge, jstat)
59      SISLObject *po1;
60      SISLObject *po2;
61      int ideg;
62      double eimpli[];
63      int icrv;
64      SISLIntlist **vlist;
65      int *jtrack;
66      SISLTrack ***wcrv;
67      double aepsge;
68      int *jstat;
69 #endif
70 /*
71 *********************************************************************
72 *
73 * PURPOSE    : An empty function, (to ensure similarity with other
74 *              versions).
75 *
76 *
77 * INPUT      : po1    - Pointer first object.
78 *              po2    - Pointer second object.
79 *                       internal format.
80 *              icrv   - Number of lists in vlist.
81 *              vlist  - Array representing intersection curves on the
82 *                       internal format.
83 *              ideg   - Type of track
84 *                           = 0, Bspline vs Bspline
85 *                           = 1, Bspline vs Plane
86 *                           = 2, Bspline vs Quadric surface
87 *                           = 1001 Bspline vs Torus surface
88 *                           = 1003 Bspline silhouette line, parallel projection
89 *                           = 1004 Bspline silhouette line, perspective projection
90 *                           = 1005 Bspline silhouette line, circular projection
91 *
92 *              eimpli[16]  Description of the implicit surface.
93 *              aepsge - Geometry tolerance
94 *
95 *OUTPUT:       jtrack - No of tracks made.
96 *              wtrack - Array containing pointers to tracks.
97 *              jstat - status messages
98 *                       >0:warning
99 *                       = 0:ok
100 *                       <0:error
101 *
102 *
103 *
104 *METHOD:   Refining datapoints and
105 *          Hermite interpolation using curvature radius.
106 *
107 *REFERENCES:
108 *
109 *
110 *-
111 *CALLS:     control_and_refine_ss(_si)
112 *          s1359 - Hermite interpolation of curve using curvature radius.
113 *
114 *WRITTEN BY:Ulf J.Krystad, SI, 30.06 .91.
115 *
116 *********************************************************************
117 */
118 {
119 
120   *jstat  = 0;
121   *jtrack = 0;
122 
123 }
124 
125