--- File: Geom_OffsetCurve.cdl
--- Created: Wed Mar 10 09:48:36 1993
--- Author: JCV
--- <fid@phylox>
--- Copyright: Matra Datavision 1993
+-- Created on: 1993-03-10
+-- Created by: JCV
+-- Copyright (c) 1993-1999 Matra Datavision
+-- Copyright (c) 1999-2012 OPEN CASCADE SAS
+--
+-- The content of this file is subject to the Open CASCADE Technology Public
+-- License Version 6.5 (the "License"). You may not use the content of this file
+-- except in compliance with the License. Please obtain a copy of the License
+-- at http://www.opencascade.org and read it completely before using this file.
+--
+-- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
+-- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
+--
+-- The Original Code and all software distributed under the License is
+-- distributed on an "AS IS" basis, without warranty of any kind, and the
+-- Initial Developer hereby disclaims all such warranties, including without
+-- limitation, any warranties of merchantability, fitness for a particular
+-- purpose or non-infringement. Please see the License for the specific terms
+-- and conditions governing the rights and limitations under the License.
+
class OffsetCurve from Geom inherits Curve from Geom
-- An offset curve is a curve at constant distance (Offset) from
-- a basis curve in a reference direction V. The offset curve
-- takes its parametrization from the basis curve.
- -- The Offset curve is in the direction of of the normal N
- -- defined with the cross product V^T where the vector T
+ -- The Offset curve is in the direction of the normal N
+ -- defined with the cross product T^V, where the vector T
-- is given by the first derivative on the basis curve with
-- non zero length.
-- The distance offset may be positive or negative to indicate the
-- preferred side of the curve :
-- . distance offset >0 => the curve is in the direction of N
- -- . distance offset >0 => the curve is in the direction of - N
+ -- . distance offset <0 => the curve is in the direction of - N
--
-- On the Offset curve :
-- Value (U) = BasisCurve.Value(U) + (Offset * (T ^ V)) / ||T ^ V||