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
bugmaster b311480ed5 0023024: Update headers of OCCT files
Added appropriate copyright and license information in source files
2012-03-21 19:43:04 +04:00

195 lines
6.8 KiB
Plaintext
Executable File

-- Created on: 2005-10-14
-- Created by: Mikhail KLOKOV
-- Copyright (c) 2005-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 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;