Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions
GC_MakeCircle Class Reference

Implements construction algorithms for circles in 3D space. More...

#include <GC_MakeCircle.hxx>

Inheritance diagram for GC_MakeCircle:
Inheritance graph
[legend]

Public Member Functions

 GC_MakeCircle (const gp_Circ &theC)
 Creates a circle from a gp_Circ.
 
 GC_MakeCircle (const gp_Ax2 &theA2, const double theRadius)
 Creates a circle from axis placement and radius.
 
 GC_MakeCircle (const gp_Circ &theCirc, const double theDist)
 Creates a circle concentric to the input circle with an offset radius.
 
 GC_MakeCircle (const gp_Circ &theCirc, const gp_Pnt &thePoint)
 Creates a circle concentric to the input circle and passing through the input point.
 
 GC_MakeCircle (const gp_Pnt &theP1, const gp_Pnt &theP2, const gp_Pnt &theP3)
 Creates a circle passing through three points.
 
 GC_MakeCircle (const gp_Pnt &theCenter, const gp_Dir &theNorm, const double theRadius)
 Creates a circle from center point, normal and radius.
 
 GC_MakeCircle (const gp_Pnt &theCenter, const gp_Pnt &thePtAxis, const double theRadius)
 Creates a circle from center point, axis point and radius.
 
 GC_MakeCircle (const gp_Ax1 &theAxis, const double theRadius)
 Creates a circle from axis and radius.
 
const occ::handle< Geom_Circle > & Value () const
 Returns the constructed circle. Exceptions StdFail_NotDone if no circle is constructed.
 
 operator const occ::handle< Geom_Circle > & () const
 Conversion operator returning the constructed object.
 
- Public Member Functions inherited from GC_Root
bool IsDone () const
 Returns true if the construction is successful.
 
bool IsError () const
 Returns true if the construction has failed.
 
gce_ErrorType Status () const
 Returns the status of the construction:
 

Additional Inherited Members

- Protected Attributes inherited from GC_Root
gce_ErrorType TheError
 

Detailed Description

Implements construction algorithms for circles in 3D space.

Constructor & Destructor Documentation

◆ GC_MakeCircle() [1/8]

GC_MakeCircle::GC_MakeCircle ( const gp_Circ & theC)

Creates a circle from a gp_Circ.

Parameters
[in]theCsource circle

◆ GC_MakeCircle() [2/8]

GC_MakeCircle::GC_MakeCircle ( const gp_Ax2 & theA2,
const double theRadius )

Creates a circle from axis placement and radius.

Parameters
[in]theA2local coordinate system of the circle
[in]theRadiuscircle radius
Note
Radius equal to 0.0 is allowed.
The status is gce_NegativeRadius if theRadius < 0.0.

◆ GC_MakeCircle() [3/8]

GC_MakeCircle::GC_MakeCircle ( const gp_Circ & theCirc,
const double theDist )

Creates a circle concentric to the input circle with an offset radius.

Parameters
[in]theCircreference circle
[in]theDistradius offset

◆ GC_MakeCircle() [4/8]

GC_MakeCircle::GC_MakeCircle ( const gp_Circ & theCirc,
const gp_Pnt & thePoint )

Creates a circle concentric to the input circle and passing through the input point.

Parameters
[in]theCircsource circle
[in]thePointpoint on resulting circle

◆ GC_MakeCircle() [5/8]

GC_MakeCircle::GC_MakeCircle ( const gp_Pnt & theP1,
const gp_Pnt & theP2,
const gp_Pnt & theP3 )

Creates a circle passing through three points.

Parameters
[in]theP1first point
[in]theP2second point
[in]theP3third point

◆ GC_MakeCircle() [6/8]

GC_MakeCircle::GC_MakeCircle ( const gp_Pnt & theCenter,
const gp_Dir & theNorm,
const double theRadius )

Creates a circle from center point, normal and radius.

Parameters
[in]theCentercircle center
[in]theNormnormal direction of circle plane
[in]theRadiuscircle radius

◆ GC_MakeCircle() [7/8]

GC_MakeCircle::GC_MakeCircle ( const gp_Pnt & theCenter,
const gp_Pnt & thePtAxis,
const double theRadius )

Creates a circle from center point, axis point and radius.

Parameters
[in]theCentercircle center
[in]thePtAxispoint defining normal direction
[in]theRadiuscircle radius
Note
The direction is defined by vector (theCenter,thePtAxis).

◆ GC_MakeCircle() [8/8]

GC_MakeCircle::GC_MakeCircle ( const gp_Ax1 & theAxis,
const double theRadius )

Creates a circle from axis and radius.

Parameters
[in]theAxiscircle axis
[in]theRadiuscircle radius

Member Function Documentation

◆ operator const occ::handle< Geom_Circle > &()

GC_MakeCircle::operator const occ::handle< Geom_Circle > & ( ) const
inline

Conversion operator returning the constructed object.

Returns
resulting object

◆ Value()

const occ::handle< Geom_Circle > & GC_MakeCircle::Value ( ) const

Returns the constructed circle. Exceptions StdFail_NotDone if no circle is constructed.

Returns
resulting circle

The documentation for this class was generated from the following file: