mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-26 10:19:45 +03:00
98 lines
2.6 KiB
C++
98 lines
2.6 KiB
C++
// Created on: 1993-02-19
|
|
// Created by: Remi LEQUETTE
|
|
// 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 _BRepAdaptor_HCompCurve_HeaderFile
|
|
#define _BRepAdaptor_HCompCurve_HeaderFile
|
|
|
|
#include <Standard.hxx>
|
|
#include <Standard_Type.hxx>
|
|
|
|
#include <BRepAdaptor_CompCurve.hxx>
|
|
#include <Adaptor3d_HCurve.hxx>
|
|
class Standard_OutOfRange;
|
|
class Standard_NoSuchObject;
|
|
class Standard_DomainError;
|
|
class BRepAdaptor_CompCurve;
|
|
class Adaptor3d_Curve;
|
|
|
|
|
|
class BRepAdaptor_HCompCurve;
|
|
DEFINE_STANDARD_HANDLE(BRepAdaptor_HCompCurve, Adaptor3d_HCurve)
|
|
|
|
|
|
class BRepAdaptor_HCompCurve : public Adaptor3d_HCurve
|
|
{
|
|
|
|
public:
|
|
|
|
|
|
//! Creates an empty GenHCurve.
|
|
Standard_EXPORT BRepAdaptor_HCompCurve();
|
|
|
|
//! Creates a GenHCurve from a Curve
|
|
Standard_EXPORT BRepAdaptor_HCompCurve(const BRepAdaptor_CompCurve& C);
|
|
|
|
//! Sets the field of the GenHCurve.
|
|
Standard_EXPORT void Set (const BRepAdaptor_CompCurve& C);
|
|
|
|
//! Returns the curve used to create the GenHCurve.
|
|
//! This is redefined from HCurve, cannot be inline.
|
|
Standard_EXPORT const Adaptor3d_Curve& Curve() const Standard_OVERRIDE;
|
|
|
|
//! Returns the curve used to create the GenHCurve.
|
|
//! This is redefined from HCurve, cannot be inline.
|
|
Standard_EXPORT Adaptor3d_Curve& GetCurve() Standard_OVERRIDE;
|
|
|
|
//! Returns the curve used to create the GenHCurve.
|
|
BRepAdaptor_CompCurve& ChangeCurve();
|
|
|
|
|
|
|
|
|
|
DEFINE_STANDARD_RTTI_INLINE(BRepAdaptor_HCompCurve,Adaptor3d_HCurve)
|
|
|
|
protected:
|
|
|
|
|
|
BRepAdaptor_CompCurve myCurve;
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
#define TheCurve BRepAdaptor_CompCurve
|
|
#define TheCurve_hxx <BRepAdaptor_CompCurve.hxx>
|
|
#define Adaptor3d_GenHCurve BRepAdaptor_HCompCurve
|
|
#define Adaptor3d_GenHCurve_hxx <BRepAdaptor_HCompCurve.hxx>
|
|
#define Handle_Adaptor3d_GenHCurve Handle(BRepAdaptor_HCompCurve)
|
|
|
|
#include <Adaptor3d_GenHCurve.lxx>
|
|
|
|
#undef TheCurve
|
|
#undef TheCurve_hxx
|
|
#undef Adaptor3d_GenHCurve
|
|
#undef Adaptor3d_GenHCurve_hxx
|
|
#undef Handle_Adaptor3d_GenHCurve
|
|
|
|
|
|
|
|
|
|
#endif // _BRepAdaptor_HCompCurve_HeaderFile
|