mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-05-01 10:26:12 +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
95 lines
2.5 KiB
C++
95 lines
2.5 KiB
C++
// Created on: 1992-05-06
|
|
// Created by: Jacques GOUSSARD
|
|
// 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 _IntPatch_CurvIntSurf_HeaderFile
|
|
#define _IntPatch_CurvIntSurf_HeaderFile
|
|
|
|
#include <Standard.hxx>
|
|
#include <Standard_DefineAlloc.hxx>
|
|
#include <Standard_Handle.hxx>
|
|
|
|
#include <Standard_Boolean.hxx>
|
|
#include <IntPatch_CSFunction.hxx>
|
|
#include <Standard_Real.hxx>
|
|
class StdFail_NotDone;
|
|
class Standard_DomainError;
|
|
class Adaptor3d_HSurface;
|
|
class Adaptor3d_HSurfaceTool;
|
|
class Adaptor2d_HCurve2d;
|
|
class IntPatch_HCurve2dTool;
|
|
class IntPatch_CSFunction;
|
|
class math_FunctionSetRoot;
|
|
class gp_Pnt;
|
|
|
|
|
|
|
|
class IntPatch_CurvIntSurf
|
|
{
|
|
public:
|
|
|
|
DEFINE_STANDARD_ALLOC
|
|
|
|
|
|
Standard_EXPORT IntPatch_CurvIntSurf(const Standard_Real U, const Standard_Real V, const Standard_Real W, const IntPatch_CSFunction& F, const Standard_Real TolTangency, const Standard_Real MarginCoef = 0.0);
|
|
|
|
Standard_EXPORT IntPatch_CurvIntSurf(const IntPatch_CSFunction& F, const Standard_Real TolTangency);
|
|
|
|
Standard_EXPORT void Perform (const Standard_Real U, const Standard_Real V, const Standard_Real W, math_FunctionSetRoot& Rsnld, const Standard_Real u0, const Standard_Real v0, const Standard_Real u1, const Standard_Real v1, const Standard_Real w0, const Standard_Real w1);
|
|
|
|
Standard_EXPORT Standard_Boolean IsDone() const;
|
|
|
|
Standard_EXPORT Standard_Boolean IsEmpty() const;
|
|
|
|
Standard_EXPORT const gp_Pnt& Point() const;
|
|
|
|
Standard_EXPORT Standard_Real ParameterOnCurve() const;
|
|
|
|
Standard_EXPORT void ParameterOnSurface (Standard_Real& U, Standard_Real& V) const;
|
|
|
|
Standard_EXPORT IntPatch_CSFunction& Function();
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
Standard_Boolean done;
|
|
Standard_Boolean empty;
|
|
IntPatch_CSFunction myFunction;
|
|
Standard_Real w;
|
|
Standard_Real u;
|
|
Standard_Real v;
|
|
Standard_Real tol;
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif // _IntPatch_CurvIntSurf_HeaderFile
|