mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-07-20 12:45:50 +03:00
65 lines
2.5 KiB
Plaintext
Executable File
65 lines
2.5 KiB
Plaintext
Executable File
-- Created on: 1994-02-24
|
|
-- Created by: Laurent BOURESCHE
|
|
-- Copyright (c) 1994-1999 Matra Datavision
|
|
-- Copyright (c) 1999-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.
|
|
|
|
|
|
package BRepLProp
|
|
|
|
---Purpose: These global functions compute the degree of
|
|
-- continuity of a curve built by concatenation of two
|
|
-- edges at their junction point.
|
|
|
|
uses Standard, gp, BRepAdaptor, GeomAbs, LProp
|
|
|
|
is
|
|
|
|
class CurveTool;
|
|
class SurfaceTool;
|
|
|
|
|
|
class CLProps from BRepLProp
|
|
instantiates CLProps from LProp(Curve from BRepAdaptor,
|
|
Vec from gp,
|
|
Pnt from gp,
|
|
Dir from gp,
|
|
CurveTool from BRepLProp);
|
|
|
|
class SLProps from BRepLProp
|
|
instantiates SLProps from LProp(Surface from BRepAdaptor,
|
|
SurfaceTool from BRepLProp);
|
|
|
|
|
|
Continuity(C1,C2 : Curve from BRepAdaptor;
|
|
u1,u2 : Real from Standard;
|
|
tl,ta : Real from Standard)
|
|
---Purpose: Computes the regularity at the junction between C1 and
|
|
-- C2. The point u1 on C1 and the point u2 on C2 must be
|
|
-- confused. tl and ta are the linear and angular
|
|
-- tolerance used two compare the derivative.
|
|
returns Shape from GeomAbs;
|
|
|
|
|
|
Continuity(C1,C2 : Curve from BRepAdaptor;
|
|
u1,u2 : Real from Standard)
|
|
---Purpose: The same as preciding but using the standard
|
|
-- tolerances from package Precision.
|
|
returns Shape from GeomAbs;
|
|
|
|
end BRepLProp;
|