1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-06-25 12:04:07 +03:00
occt/src/IntTools/IntTools_TopolTool.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

116 lines
3.4 KiB
Plaintext

-- Created on: 2002-04-18
-- Created by: Michael KLOKOV
-- Copyright (c) 2002-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 TopolTool from IntTools inherits TopolTool from Adaptor3d
---Purpose: Class redefine methods of TopolTool from Adaptor3d
--- concerning sample points
---
uses
Pnt from gp,
Pnt2d from gp,
HSurface from Adaptor3d,
HArray1OfReal from TColStd
raises DomainError from Standard
is
Create returns mutable TopolTool from IntTools;
---Purpose:
--- Empty constructor
---
Create(theSurface: HSurface from Adaptor3d)
returns mutable TopolTool from IntTools;
---Purpose:
--- Initializes me by surface
---
Initialize(me: mutable)
is redefined;
---Purpose:
--- Redefined empty initializer
---
-- Warning:
--- Raises the exception NotImplemented
---
Initialize(me: mutable; theSurface: HSurface from Adaptor3d)
is redefined;
---Purpose:
--- Initializes me by surface
---
--- sample points tools
ComputeSamplePoints(me: mutable)
is redefined;
---Purpose:
---
---
NbSamplesU(me: mutable)
returns Integer from Standard
is redefined;
---Purpose:
--- Computes the sample-points for the intersections algorithms
---
NbSamplesV(me: mutable)
returns Integer from Standard
is redefined;
---Purpose:
--- Computes the sample-points for the intersections algorithms
---
NbSamples(me: mutable)
returns Integer from Standard
is redefined;
---Purpose:
--- Computes the sample-points for the intersections algorithms
---
SamplePoint(me: mutable; Index: Integer from Standard;
P2d : out Pnt2d from gp;
P3d : out Pnt from gp)
is redefined;
---Purpose:
--- Returns a 2d point from surface myS
--- and a corresponded 3d point
--- for given index.
--- The index should be from 1 to NbSamples()
---
--modified by NIZNHY-IFV Sep 28 16:01:38 2005 f
SamplePnts(me: mutable; theDefl: Real from Standard; theNUmin, theNVmin: Integer from Standard)
---Purpose: compute the sample-points for the intersections algorithms
-- by adaptive algorithm for BSpline surfaces. For other surfaces algorithm
-- is the same as in method ComputeSamplePoints(), but only fill arrays of U
-- and V sample parameters;
-- theDefl is a requred deflection
-- theNUmin, theNVmin are minimal nb points for U and V.
is redefined;
fields
--myS : HSurface from Adaptor3d; now inherits myS from Adaptor3d_TopolTool
myNbSmplU : Integer from Standard;
myNbSmplV : Integer from Standard;
myU0 : Real from Standard;
myV0 : Real from Standard;
myDU : Real from Standard;
myDV : Real from Standard;
end TopolTool from IntTools;