mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-07-10 04:17:44 +08:00
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.
98 lines
3.0 KiB
Plaintext
98 lines
3.0 KiB
Plaintext
-- Created on: 1998-12-29
|
|
-- Created by: Joelle CHAUVET
|
|
-- Copyright (c) 1998-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.
|
|
|
|
class NSections from BRepFill inherits SectionLaw from BRepFill
|
|
|
|
---Purpose: Build Section Law, with N Sections
|
|
--
|
|
---Level: Advanced
|
|
|
|
uses
|
|
SectionLaw from GeomFill,
|
|
HArray1OfSectionLaw from GeomFill,
|
|
SequenceOfTrsf from GeomFill,
|
|
BSplineSurface from Geom,
|
|
HArray2OfShape from TopTools,
|
|
SequenceOfReal from TColStd,
|
|
SequenceOfShape from TopTools,
|
|
Shape from GeomAbs,
|
|
Vertex from TopoDS,
|
|
Wire from TopoDS,
|
|
Edge from TopoDS,
|
|
Shape from TopoDS,
|
|
Function from Law
|
|
|
|
is
|
|
Create (S:SequenceOfShape from TopTools;
|
|
Build : Boolean = Standard_True)
|
|
---Purpose: Construct
|
|
returns NSections from BRepFill;
|
|
|
|
Create (S : SequenceOfShape from TopTools;
|
|
Trsfs : SequenceOfTrsf from GeomFill;
|
|
P : SequenceOfReal from TColStd;
|
|
VF,VL : Real;
|
|
Build : Boolean = Standard_True)
|
|
---Purpose: Construct
|
|
returns NSections from BRepFill;
|
|
|
|
|
|
IsVertex(me)
|
|
---Purpose: Say if the input shape is a vertex.
|
|
returns Boolean
|
|
is redefined;
|
|
|
|
IsConstant(me)
|
|
---Purpose: Say if the Law is Constant.
|
|
returns Boolean
|
|
is redefined;
|
|
|
|
ConcatenedLaw(me)
|
|
---Purpose: Give the law build on a concatened section
|
|
returns SectionLaw from GeomFill
|
|
is redefined;
|
|
|
|
Continuity(me; Index : Integer;
|
|
TolAngular : Real)
|
|
returns Shape from GeomAbs
|
|
is redefined;
|
|
|
|
VertexTol(me; Index : Integer;
|
|
Param : Real)
|
|
returns Real
|
|
is redefined;
|
|
|
|
Vertex(me; Index : Integer;
|
|
Param : Real)
|
|
returns Vertex from TopoDS
|
|
is redefined;
|
|
|
|
D0(me:mutable; Param : Real;
|
|
S : out Shape from TopoDS)
|
|
is redefined;
|
|
|
|
Init(me : mutable; P : SequenceOfReal from TColStd;
|
|
B : Boolean from Standard ) is private;
|
|
|
|
fields
|
|
VFirst, VLast : Real;
|
|
myShapes: SequenceOfShape from TopTools;
|
|
myTrsfs: SequenceOfTrsf from GeomFill;
|
|
myParams: SequenceOfReal from TColStd;
|
|
myEdges: HArray2OfShape from TopTools;
|
|
mySurface: BSplineSurface from Geom;
|
|
end NSections;
|