mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
Redundant keyword 'mutable' removed in CDL files. In IGESConvGeom_GeomBuilder, unused methods MakeXY() and MakeXYZ() removed. Method StepAP214_AutoDesignGroupAssignment::Init() replicating same method of the base class is removed as it causes CDL extraction error after above (seemingly irrelevant) changes.
116 lines
3.4 KiB
Plaintext
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 TopolTool from IntTools;
|
|
---Purpose:
|
|
--- Empty constructor
|
|
---
|
|
|
|
Create(theSurface: HSurface from Adaptor3d)
|
|
returns 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;
|