mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +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
88 lines
2.5 KiB
C++
88 lines
2.5 KiB
C++
// Created on: 1993-04-23
|
|
// Created by: Modelistation
|
|
// Copyright (c) 1993-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 _HLRBRep_SLPropsATool_HeaderFile
|
|
#define _HLRBRep_SLPropsATool_HeaderFile
|
|
|
|
#include <Standard.hxx>
|
|
#include <Standard_DefineAlloc.hxx>
|
|
#include <Standard_Handle.hxx>
|
|
|
|
#include <Standard_Address.hxx>
|
|
#include <Standard_Real.hxx>
|
|
#include <Standard_Integer.hxx>
|
|
class gp_Pnt;
|
|
class gp_Vec;
|
|
|
|
|
|
|
|
class HLRBRep_SLPropsATool
|
|
{
|
|
public:
|
|
|
|
DEFINE_STANDARD_ALLOC
|
|
|
|
|
|
//! Computes the point <P> of parameter <U> and <V>
|
|
//! on the Surface <A>.
|
|
static void Value (const Standard_Address A, const Standard_Real U, const Standard_Real V, gp_Pnt& P);
|
|
|
|
//! Computes the point <P> and first derivative <D1*>
|
|
//! of parameter <U> and <V> on the Surface <A>.
|
|
static void D1 (const Standard_Address A, const Standard_Real U, const Standard_Real V, gp_Pnt& P, gp_Vec& D1U, gp_Vec& D1V);
|
|
|
|
//! Computes the point <P>, the first derivative <D1*>
|
|
//! and second derivative <D2*> of parameter <U> and
|
|
//! <V> on the Surface <A>.
|
|
static void D2 (const Standard_Address A, const Standard_Real U, const Standard_Real V, gp_Pnt& P, gp_Vec& D1U, gp_Vec& D1V, gp_Vec& D2U, gp_Vec& D2V, gp_Vec& DUV);
|
|
|
|
Standard_EXPORT static gp_Vec DN (const Standard_Address A, const Standard_Real U, const Standard_Real V, const Standard_Integer Nu, const Standard_Integer Nv);
|
|
|
|
//! returns the order of continuity of the Surface
|
|
//! <A>. returns 1 : first derivative only is
|
|
//! computable returns 2 : first and second derivative
|
|
//! only are computable.
|
|
static Standard_Integer Continuity (const Standard_Address A);
|
|
|
|
//! returns the bounds of the Surface.
|
|
static void Bounds (const Standard_Address A, Standard_Real& U1, Standard_Real& V1, Standard_Real& U2, Standard_Real& V2);
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
#include <HLRBRep_SLPropsATool.lxx>
|
|
|
|
|
|
|
|
|
|
|
|
#endif // _HLRBRep_SLPropsATool_HeaderFile
|