Files
OCCT/src/Geom2dLProp/Geom2dLProp_CurAndInf2d.cdl
abv d5f74e42d6 0024624: Lost word in license statement in source files
License statement text corrected; compiler warnings caused by Bison 2.41 disabled for MSVC; a few other compiler warnings on 54-bit Windows eliminated by appropriate type cast
Wrong license statements corrected in several files.
Copyright and license statements added in XSD and GLSL files.
Copyright year updated in some files.
Obsolete documentation files removed from DrawResources.
2014-02-20 16:15:17 +04:00

70 lines
2.6 KiB
Plaintext

-- Created on: 1994-09-06
-- Created by: Yves FRICAUD
-- Copyright (c) 1994-1999 Matra Datavision
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
--
-- This file is part of Open CASCADE Technology software library.
--
-- This library is free software; you can redistribute it and/or modify it under
-- the terms of the GNU Lesser General Public License version 2.1 as published
-- by the Free Software Foundation, with special exception defined in the file
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-- distribution for complete text of the license and disclaimer of any warranty.
--
-- Alternatively, this file may be used under the terms of Open CASCADE
-- commercial license or contractual agreement.
class CurAndInf2d from Geom2dLProp inherits CurAndInf from LProp
---Purpose: An algorithm for computing local properties of a curve.
-- These properties include:
-- - the maximum and minimum curvatures
-- - the inflection points.
-- A CurAndInf2d object provides the framework for:
-- - defining the curve to be analyzed
-- - implementing the computation algorithms
-- - consulting the results.
uses
Curve from Geom2d
is
Create;
--- Purpose: Initializes the framework.
-- Note: The curve on which the local properties are
-- computed is defined using one of the following
-- functions: Perform, PerformCurExt or PerformInf.
Perform (me : in out; C : Curve)
---Purpose: For the curve C, Computes both the
-- inflection points and the maximum and minimum curvatures.
is static;
PerformCurExt (me : in out; C : Curve)
---Purpose: For the curve C, Computes the locals extremas of curvature.
is static;
PerformInf (me : in out; C : Curve)
---Purpose: For the curve C, Computes the inflections.
-- After computation, the following functions can be used:
-- - IsDone to check if the computation was successful
-- - NbPoints to obtain the number of computed particular points
-- - Parameter to obtain the parameter on the curve for
-- each particular point
-- - Type to check if the point is an inflection point or an
-- extremum of curvature of the curve C.
-- Warning
-- These functions can be used to analyze a series of
-- curves, however it is necessary to clear the table of
-- results between each computation.
is static;
IsDone (me) returns Boolean
---Purpose: True if the solutions are found.
is static;
fields
isDone : Boolean from Standard;
end CurAndInf2d;