1 -- Created on: 1993-09-29
2 -- Created by: Isabelle GRIGNON
3 -- Copyright (c) 1993-1999 Matra Datavision
4 -- Copyright (c) 1999-2012 OPEN CASCADE SAS
6 -- The content of this file is subject to the Open CASCADE Technology Public
7 -- License Version 6.5 (the "License"). You may not use the content of this file
8 -- except in compliance with the License. Please obtain a copy of the License
9 -- at http://www.opencascade.org and read it completely before using this file.
11 -- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
12 -- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
14 -- The Original Code and all software distributed under the License is
15 -- distributed on an "AS IS" basis, without warranty of any kind, and the
16 -- Initial Developer hereby disclaims all such warranties, including without
17 -- limitation, any warranties of merchantability, fitness for a particular
18 -- purpose or non-infringement. Please see the License for the specific terms
19 -- and conditions governing the rights and limitations under the License.
24 class GeomTool from BRepMesh
33 TangentialDeflection from GCPnts,
34 Curve from BRepAdaptor,
35 HSurface from BRepAdaptor
41 Create (C : in out Curve from BRepAdaptor;
42 Ufirst,Ulast,AngDefl, Deflection : Real;
43 nbpointsmin: Integer = 2)
46 Create (S : HSurface from BRepAdaptor;
48 Type : IsoType from GeomAbs;
49 Ufirst,Ulast,AngDefl,Deflection : Real;
50 nbpointsmin: Integer = 2) returns GeomTool;
52 AddPoint(me : in out; thePnt : in Pnt from gp;
54 theIsReplace : in Boolean = Standard_True)
55 returns Integer from Standard;
56 ---Purpose: Add point to already calculated points (or replace existing)
57 -- Returns index of new added point
58 -- or founded with parametric tolerance (replaced if theIsReplace is true)
60 NbPoints(me) returns Integer from Standard;
62 Value(me; IsoParam : Real ; Index : Integer ;
63 W : out Real; P : out Pnt from gp; UV : out Pnt2d from gp);
65 Value(me;C : Curve from BRepAdaptor;
66 S : HSurface from BRepAdaptor;
67 Index : Integer from Standard;
68 W : out Real; P : out Pnt from gp; UV : out Pnt2d from gp);
70 D0(myclass; F : HSurface from BRepAdaptor;U,V : Real; P : out Pnt);
72 Normal(myclass; F : HSurface from BRepAdaptor;U,V : Real ; P : out Pnt from gp;
73 Nor : out Dir from gp)
74 returns Boolean from Standard;
75 ---Purpose: return false if the normal can not be computed
79 pnts : TangentialDeflection from GCPnts;
80 parametric : IsoType from GeomAbs;