Open CASCADE Technology 6.6.0
|
This class implements the following algorithms used
to create Circ from gp.
* Create a Circ coaxial to another and passing
though a point.
* Create a Circ coaxial to another at the distance
Dist.
* Create a Circ passing through 3 points.
* Create a Circ with its center and the normal of its
plane and its radius.
* Create a Circ with its center and its plane and its
radius.
* Create a Circ with its axis and radius.
* Create a Circ with two points giving its axis and
its radius.
* Create a Circ with is Ax2 and its Radius.
#include <gce_MakeCirc.hxx>
Public Member Functions | |
gce_MakeCirc (const gp_Ax2 &A2, const Standard_Real Radius) | |
A2 locates the circle and gives its orientation in 3D space. Warnings : It is not forbidden to create a circle with Radius = 0.0 The status is "NegativeRadius" if Radius < 0.0 | |
gce_MakeCirc (const gp_Circ &Circ, const Standard_Real Dist) | |
Makes a Circ from gp <TheCirc> coaxial to another Circ <Circ> at a distance <Dist>. If Dist is greater than zero the result is encloses the circle <Circ>, else the result is enclosed by the circle <Circ>. | |
gce_MakeCirc (const gp_Circ &Circ, const gp_Pnt &Point) | |
Makes a Circ from gp <TheCirc> coaxial to another Circ <Circ> and passing through a Pnt2d <Point>. | |
gce_MakeCirc (const gp_Pnt &P1, const gp_Pnt &P2, const gp_Pnt &P3) | |
Makes a Circ from gp <TheCirc> passing through 3 Pnt2d <P1>,<P2>,<P3>. | |
gce_MakeCirc (const gp_Pnt &Center, const gp_Dir &Norm, const Standard_Real Radius) | |
Makes a Circ from gp <TheCirc> with its center its radius <Radius>. | |
gce_MakeCirc (const gp_Pnt &Center, const gp_Pln &Plane, const Standard_Real Radius) | |
Makes a Circ from gp <TheCirc> with its center its radius <Radius>. | |
gce_MakeCirc (const gp_Pnt &Center, const gp_Pnt &Ptaxis, const Standard_Real Radius) | |
Makes a Circ from gp <TheCirc> with its center of its plane <Plane> and its radius <Radius>. | |
gce_MakeCirc (const gp_Ax1 &Axis, const Standard_Real Radius) | |
Makes a Circ from gp <TheCirc> with its center Warning The MakeCirc class does not prevent the construction of a circle with a null radius. If an error occurs (that is, when IsDone returns false), the Status function returns: | |
const gp_Circ & | Value () const |
Returns the constructed circle. Exceptions StdFail_NotDone if no circle is constructed. | |
const gp_Circ & | Operator () const |
operator gp_Circ () const |
gce_MakeCirc::gce_MakeCirc | ( | const gp_Ax2 & | A2, |
const Standard_Real | Radius | ||
) |
gce_MakeCirc::gce_MakeCirc | ( | const gp_Circ & | Circ, |
const Standard_Real | Dist | ||
) |
gce_MakeCirc::gce_MakeCirc | ( | const gp_Pnt & | Center, |
const gp_Dir & | Norm, | ||
const Standard_Real | Radius | ||
) |
gce_MakeCirc::gce_MakeCirc | ( | const gp_Pnt & | Center, |
const gp_Pln & | Plane, | ||
const Standard_Real | Radius | ||
) |
gce_MakeCirc::gce_MakeCirc | ( | const gp_Pnt & | Center, |
const gp_Pnt & | Ptaxis, | ||
const Standard_Real | Radius | ||
) |
gce_MakeCirc::gce_MakeCirc | ( | const gp_Ax1 & | Axis, |
const Standard_Real | Radius | ||
) |
const gp_Circ& gce_MakeCirc::Operator | ( | ) | const |
gce_MakeCirc::operator gp_Circ | ( | ) | const |
const gp_Circ& gce_MakeCirc::Value | ( | ) | const |