mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-06-23 20:48:40 +08:00
Mostly duplicated comments were removed and missing ones were moved into dedicated class CDL files. Some more duplicated comments were removed from CDL files. Correction of merge
98 lines
2.9 KiB
Plaintext
98 lines
2.9 KiB
Plaintext
-- Created on: 1995-10-17
|
|
-- Created by: Laurent BOURESCHE
|
|
-- Copyright (c) 1995-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.
|
|
|
|
deferred class Boundary from GeomFill inherits TShared from MMgt
|
|
|
|
---Purpose: Root class to define a boundary which will form part of a
|
|
-- contour around a gap requiring filling.
|
|
-- Any new type of constrained boundary must inherit this class.
|
|
-- The GeomFill package provides two classes to define constrained boundaries:
|
|
-- - GeomFill_SimpleBound to define an unattached boundary
|
|
-- - GeomFill_BoundWithSurf to define a boundary attached to a surface.
|
|
-- These objects are used to define the boundaries for a
|
|
-- GeomFill_ConstrainedFilling framework.
|
|
|
|
uses
|
|
Pnt from gp,
|
|
Vec from gp
|
|
|
|
is
|
|
|
|
Initialize(Tol3d : Real from Standard;
|
|
Tolang : Real from Standard);
|
|
|
|
Value(me;
|
|
U : Real from Standard)
|
|
returns Pnt from gp
|
|
is deferred;
|
|
|
|
D1(me;
|
|
U : Real from Standard;
|
|
P : out Pnt from gp;
|
|
V : out Vec from gp)
|
|
is deferred;
|
|
|
|
HasNormals(me)
|
|
returns Boolean from Standard
|
|
is virtual;
|
|
|
|
-- the methods giving informations about normals are implemented
|
|
-- with a raise.
|
|
-- use a call to HasNormals before calling Norm or D1Norm.
|
|
Norm(me;
|
|
U : Real from Standard)
|
|
returns Vec from gp
|
|
is virtual;
|
|
|
|
D1Norm(me;
|
|
U : Real from Standard;
|
|
N : out Vec from gp;
|
|
DN : out Vec from gp)
|
|
is virtual;
|
|
|
|
Reparametrize(me : mutable;
|
|
First, Last : Real from Standard;
|
|
HasDF, HasDL : Boolean from Standard;
|
|
DF, DL : Real from Standard;
|
|
Rev : Boolean from Standard)
|
|
is deferred;
|
|
|
|
Points(me; PFirst, PLast : out Pnt from gp);
|
|
|
|
Bounds(me; First, Last : out Real from Standard)
|
|
is deferred;
|
|
|
|
IsDegenerated(me)
|
|
returns Boolean from Standard
|
|
is deferred;
|
|
|
|
Tol3d(me) returns Real from Standard;
|
|
|
|
Tol3d(me : mutable;
|
|
Tol : Real from Standard);
|
|
|
|
Tolang(me) returns Real from Standard;
|
|
|
|
Tolang(me : mutable;
|
|
Tol : Real from Standard);
|
|
|
|
fields
|
|
|
|
myT3d : Real from Standard;
|
|
myTang : Real from Standard;
|
|
|
|
end Boundary;
|