1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-05-01 10:26:12 +03:00
occt/src/IntTools/IntTools_SurfaceRangeLocalizeData.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

190 lines
6.4 KiB
Plaintext

-- Created on: 2005-10-14
-- Created by: Mikhail KLOKOV
-- Copyright (c) 2005-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 SurfaceRangeLocalizeData from IntTools
uses
Box from Bnd,
SurfaceRangeSample from IntTools,
MapOfSurfaceSample from IntTools,
ListOfSurfaceRangeSample from IntTools,
DataMapOfSurfaceSampleBox from IntTools,
Pnt from gp,
HArray1OfReal from TColStd,
HArray2OfPnt from TColgp
is
Create
returns SurfaceRangeLocalizeData from IntTools;
Create(theNbSampleU: Integer from Standard;
theNbSampleV: Integer from Standard;
theMinRangeU: Real from Standard;
theMinRangeV: Real from Standard)
returns SurfaceRangeLocalizeData from IntTools;
Create(Other: SurfaceRangeLocalizeData from IntTools)
returns SurfaceRangeLocalizeData from IntTools;
Assign(me: in out; Other: SurfaceRangeLocalizeData from IntTools)
returns SurfaceRangeLocalizeData from IntTools;
---C++: alias operator =
---C++: return &
GetNbSampleU(me)
returns Integer from Standard;
---C++: inline
GetNbSampleV(me)
returns Integer from Standard;
---C++: inline
GetMinRangeU(me)
returns Real from Standard;
---C++: inline
GetMinRangeV(me)
returns Real from Standard;
---C++: inline
AddOutRange(me: in out; theRange: SurfaceRangeSample from IntTools);
AddBox(me: in out; theRange: SurfaceRangeSample from IntTools;
theBox: Box from Bnd);
FindBox(me; theRange: SurfaceRangeSample from IntTools;
theBox: out Box from Bnd)
returns Boolean from Standard;
IsRangeOut(me; theRange: SurfaceRangeSample from IntTools)
returns Boolean from Standard;
ListRangeOut(me; theList: out ListOfSurfaceRangeSample from IntTools);
RemoveRangeOutAll(me: in out);
-- Modified by skv - Wed Nov 2 18:37:33 2005 Optimization Begin
SetGridDeflection(me: in out; theDeflection: Real from Standard);
---Purpose: Set the grid deflection.
---C++: inline
GetGridDeflection(me)
---Purpose: Query the grid deflection.
---C++: inline
returns Real from Standard;
SetRangeUGrid(me: in out; theNbUGrid: Integer from Standard);
---Purpose: Set the range U of the grid of points.
GetRangeUGrid(me)
---Purpose: Query the range U of the grid of points.
---C++: inline
returns Integer from Standard;
SetUParam(me: in out; theIndex: Integer from Standard;
theUParam: Real from Standard);
---Purpose: Set the U parameter of the grid points at that index.
---C++: inline
GetUParam(me; theIndex: Integer from Standard)
---Purpose: Query the U parameter of the grid points at that index.
---C++: inline
returns Real from Standard;
SetRangeVGrid(me: in out; theNbVGrid: Integer from Standard);
---Purpose: Set the range V of the grid of points.
GetRangeVGrid(me)
---Purpose: Query the range V of the grid of points.
---C++: inline
returns Integer from Standard;
SetVParam(me: in out; theIndex: Integer from Standard;
theVParam: Real from Standard);
---Purpose: Set the V parameter of the grid points at that index.
---C++: inline
GetVParam(me; theIndex: Integer from Standard)
---Purpose: Query the V parameter of the grid points at that index.
---C++: inline
returns Real from Standard;
SetGridPoint(me: in out; theUIndex: Integer from Standard;
theVIndex: Integer from Standard;
thePoint: Pnt from gp);
---Purpose: Set the grid point.
---C++: inline
GetGridPoint(me; theUIndex: Integer from Standard;
theVIndex: Integer from Standard)
---Purpose: Set the grid point.
---C++: inline
---C++: return const &
returns Pnt from gp;
SetFrame(me: in out; theUMin: Real from Standard;
theUMax: Real from Standard;
theVMin: Real from Standard;
theVMax: Real from Standard);
---Purpose: Sets the frame area. Used to work with grid points.
GetNBUPointsInFrame(me)
---Purpose: Returns the number of grid points on U direction in frame.
---C++: inline
returns Integer from Standard;
GetNBVPointsInFrame(me)
---Purpose: Returns the number of grid points on V direction in frame.
---C++: inline
returns Integer from Standard;
GetPointInFrame(me; theUIndex: Integer from Standard;
theVIndex: Integer from Standard)
---Purpose: Returns the grid point in frame.
---C++: return const &
returns Pnt from gp;
GetUParamInFrame(me; theIndex: Integer from Standard)
---Purpose: Query the U parameter of the grid points
-- at that index in frame.
returns Real from Standard;
GetVParamInFrame(me; theIndex: Integer from Standard)
---Purpose: Query the V parameter of the grid points
-- at that index in frame.
returns Real from Standard;
ClearGrid(me: in out);
---Purpose: Clears the grid of points.
-- Modified by skv - Wed Nov 2 18:37:33 2005 Optimization End
fields
myNbSampleU: Integer from Standard;
myNbSampleV: Integer from Standard;
myMinRangeU: Real from Standard;
myMinRangeV: Real from Standard;
myMapRangeOut: MapOfSurfaceSample from IntTools;
myMapBox : DataMapOfSurfaceSampleBox from IntTools;
myUParams : HArray1OfReal from TColStd;
myVParams : HArray1OfReal from TColStd;
myGridPoints : HArray2OfPnt from TColgp;
myUIndMin : Integer from Standard;
myUIndMax : Integer from Standard;
myVIndMin : Integer from Standard;
myVIndMax : Integer from Standard;
myDeflection : Real from Standard;
end SurfaceRangeLocalizeData from IntTools;