mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-21 10:13:43 +03:00
Automatic upgrade of OCCT code by command "occt_upgrade . -nocdl": - WOK-generated header files from inc and sources from drv are moved to src - CDL files removed - All packages are converted to nocdlpack
84 lines
2.4 KiB
C++
84 lines
2.4 KiB
C++
// Created on: 1992-03-26
|
|
// Created by: Herve LEGRAND
|
|
// Copyright (c) 1992-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.
|
|
|
|
#ifndef _GeomLProp_HeaderFile
|
|
#define _GeomLProp_HeaderFile
|
|
|
|
#include <Standard.hxx>
|
|
#include <Standard_DefineAlloc.hxx>
|
|
#include <Standard_Handle.hxx>
|
|
|
|
#include <GeomAbs_Shape.hxx>
|
|
#include <Standard_Real.hxx>
|
|
#include <Standard_Boolean.hxx>
|
|
class Geom_Curve;
|
|
class GeomLProp_CurveTool;
|
|
class GeomLProp_SurfaceTool;
|
|
class GeomLProp_CLProps;
|
|
class GeomLProp_SLProps;
|
|
|
|
|
|
//! These global functions compute the degree of
|
|
//! continuity of a 3D curve built by concatenation of two
|
|
//! other curves (or portions of curves) at their junction point.
|
|
class GeomLProp
|
|
{
|
|
public:
|
|
|
|
DEFINE_STANDARD_ALLOC
|
|
|
|
|
|
//! Computes the regularity at the junction between C1 and
|
|
//! C2. The booleans r1 and r2 are true if the curves must
|
|
//! be taken reversed. 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.
|
|
Standard_EXPORT static GeomAbs_Shape Continuity (const Handle(Geom_Curve)& C1, const Handle(Geom_Curve)& C2, const Standard_Real u1, const Standard_Real u2, const Standard_Boolean r1, const Standard_Boolean r2, const Standard_Real tl, const Standard_Real ta);
|
|
|
|
//! The same as preciding but using the standard
|
|
//! tolerances from package Precision.
|
|
Standard_EXPORT static GeomAbs_Shape Continuity (const Handle(Geom_Curve)& C1, const Handle(Geom_Curve)& C2, const Standard_Real u1, const Standard_Real u2, const Standard_Boolean r1, const Standard_Boolean r2);
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
|
|
friend class GeomLProp_CurveTool;
|
|
friend class GeomLProp_SurfaceTool;
|
|
friend class GeomLProp_CLProps;
|
|
friend class GeomLProp_SLProps;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif // _GeomLProp_HeaderFile
|