/* ===================================================1* file: odrSpiral.c2* ---------------------------------------------------3* purpose: free sample for computing spirals4* in OpenDRIVE applications5* ---------------------------------------------------6* first edit: 09.03.2010 by M. Dupuis @ VIRES GmbH7* last mod.: 09.03.2010 by M. Dupuis @ VIRES GmbH8* ===================================================910Copyright 2010 VIRES Simulationstechnologie GmbH11Licensed under the Apache License, Version 2.0 (the "License");12you may not use this file except in compliance with the License.13You may obtain a copy of the License at14http://www.apache.org/licenses/LICENSE-2.015Unless required by applicable law or agreed to in writing, software16distributed under the License is distributed on an "AS IS" BASIS,17WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.18See the License for the specific language governing permissions and19limitations under the License.20*/2122/**23* compute the actual "standard" spiral, starting with curvature 024* @param s run-length along spiral25* @param cDot first derivative of curvature [1/m2]26* @param x resulting x-coordinate in spirals local co-ordinate system [m]27* @param y resulting y-coordinate in spirals local co-ordinate system [m]28* @param t tangent direction at s [rad]29*/3031extern void odrSpiral( double s, double cDot, double *x, double *y, double *t );323334