// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _GC_MakeCircle_HeaderFile #define _GC_MakeCircle_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _Handle_Geom_Circle_HeaderFile #include #endif #ifndef _GC_Root_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif class Geom_Circle; class StdFail_NotDone; class gp_Circ; class gp_Ax2; class gp_Pnt; class gp_Dir; class gp_Ax1; //! This class implements the following algorithms used
//! to create Cirlec from Geom.
//!
//! * Create a Circle parallel to another and passing
//! though a point.
//! * Create a Circle parallel to another at the distance
//! Dist.
//! * Create a Circle passing through 3 points.
//! * Create a Circle with its center and the normal of its
//! plane and its radius.
//! * Create a Circle with its axis and radius.
//! The circle's parameter is the angle (Radian).
//! The parametrization range is [0,2*PI].
//! The circle is a closed and periodic curve.
//! The center of the circle is the Location point of its axis
//! placement. The XDirection of the axis placement defines the
//! origin of the parametrization.
class GC_MakeCircle : public GC_Root { public: void* operator new(size_t,void* anAddress) { return anAddress; } void* operator new(size_t size) { return Standard::Allocate(size); } void operator delete(void *anAddress) { if (anAddress) Standard::Free((Standard_Address&)anAddress); } //! creates a circle from a non persistent circle C by its conversion.
Standard_EXPORT GC_MakeCircle(const gp_Circ& C); //! A2 is the local coordinates system of the circle.
//! It is not forbidden to create a circle with Radius = 0.0
//! Status is "NegativeRadius" if Radius < 0.
Standard_EXPORT GC_MakeCircle(const gp_Ax2& A2,const Standard_Real Radius); //! Make a Circle from Geom parallel to another
//! Circ with a distance .
//! If Dist is greater than zero the result is enclosing
//! the circle , else the result is enclosed by the
//! circle .
Standard_EXPORT GC_MakeCircle(const gp_Circ& Circ,const Standard_Real Dist); //! Make a Circle from Geom parallel to another
//! Circ and passing through a Pnt .
Standard_EXPORT GC_MakeCircle(const gp_Circ& Circ,const gp_Pnt& Point); //! Make a Circ from gp passing through 3
//! Pnt2d ,,.
Standard_EXPORT GC_MakeCircle(const gp_Pnt& P1,const gp_Pnt& P2,const gp_Pnt& P3); //! Make a Circle from Geom with its center
//!
and the normal of its plane and
//! its radius .
Standard_EXPORT GC_MakeCircle(const gp_Pnt& Center,const gp_Dir& Norm,const Standard_Real Radius); //! Make a Circle from Geom with its center
//!
and the normal of its plane defined by the
//! two points
and and its radius .
Standard_EXPORT GC_MakeCircle(const gp_Pnt& Center,const gp_Pnt& PtAxis,const Standard_Real Radius); //! Make a Circle from Geom with its center
//!
and its radius .
Standard_EXPORT GC_MakeCircle(const gp_Ax1& Axis,const Standard_Real Radius); //! Returns the constructed circle.
//! Exceptions
//! StdFail_NotDone if no circle is constructed.
Standard_EXPORT const Handle_Geom_Circle& Value() const; Standard_EXPORT const Handle_Geom_Circle& Operator() const; Standard_EXPORT operator Handle_Geom_Circle() const; protected: private: Handle_Geom_Circle TheCircle; }; // other Inline functions and methods (like "C++: function call" methods) #endif