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

This class implements construction algorithms for arcs of circles in the plane. The result is a Geom2d_TrimmedCurve. A GC_MakeArcOfCircle2d object provides a framework for: More...

#include <GC_MakeArcOfCircle2d.hxx>

Inheritance diagram for GC_MakeArcOfCircle2d:
Inheritance graph
[legend]

Public Member Functions

 GC_MakeArcOfCircle2d (const gp_Circ2d &theCircle, const double theAlpha1, const double theAlpha2, const bool theSense=true)
 Constructs an arc from angular bounds on a circle.
 
 GC_MakeArcOfCircle2d (const gp_Circ2d &theCircle, const gp_Pnt2d &thePoint, const double theAlpha, const bool theSense=true)
 Constructs an arc from a point and angular bound on a circle.
 
 GC_MakeArcOfCircle2d (const gp_Circ2d &theCircle, const gp_Pnt2d &theP1, const gp_Pnt2d &theP2, const bool theSense=true)
 Constructs an arc between two points on a circle.
 
 GC_MakeArcOfCircle2d (const gp_Pnt2d &theP1, const gp_Pnt2d &theP2, const gp_Pnt2d &theP3)
 Constructs an arc passing through three points.
 
 GC_MakeArcOfCircle2d (const gp_Pnt2d &theP1, const gp_Vec2d &theV, const gp_Pnt2d &theP2)
 Constructs an arc from two points and tangent vector at start point.
 
const occ::handle< Geom2d_TrimmedCurve > & Value () const
 Returns the constructed arc of circle. Exceptions StdFail_NotDone if no arc of circle is constructed.
 
 operator const occ::handle< Geom2d_TrimmedCurve > & () 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

This class implements construction algorithms for arcs of circles in the plane. The result is a Geom2d_TrimmedCurve. A GC_MakeArcOfCircle2d object provides a framework for:

Constructor & Destructor Documentation

◆ GC_MakeArcOfCircle2d() [1/5]

GC_MakeArcOfCircle2d::GC_MakeArcOfCircle2d ( const gp_Circ2d & theCircle,
const double theAlpha1,
const double theAlpha2,
const bool theSense = true )

Constructs an arc from angular bounds on a circle.

Parameters
[in]theCirclesource circle
[in]theAlpha1first angle (radians)
[in]theAlpha2second angle (radians)
[in]theSenseorientation of resulting arc

◆ GC_MakeArcOfCircle2d() [2/5]

GC_MakeArcOfCircle2d::GC_MakeArcOfCircle2d ( const gp_Circ2d & theCircle,
const gp_Pnt2d & thePoint,
const double theAlpha,
const bool theSense = true )

Constructs an arc from a point and angular bound on a circle.

Parameters
[in]theCirclesource circle
[in]thePointpoint on source circle
[in]theAlphaangle value (radians)
[in]theSenseorientation of resulting arc

◆ GC_MakeArcOfCircle2d() [3/5]

GC_MakeArcOfCircle2d::GC_MakeArcOfCircle2d ( const gp_Circ2d & theCircle,
const gp_Pnt2d & theP1,
const gp_Pnt2d & theP2,
const bool theSense = true )

Constructs an arc between two points on a circle.

Parameters
[in]theCirclesource circle
[in]theP1first point on source circle
[in]theP2second point on source circle
[in]theSenseorientation of resulting arc

◆ GC_MakeArcOfCircle2d() [4/5]

GC_MakeArcOfCircle2d::GC_MakeArcOfCircle2d ( const gp_Pnt2d & theP1,
const gp_Pnt2d & theP2,
const gp_Pnt2d & theP3 )

Constructs an arc passing through three points.

Parameters
[in]theP1first point
[in]theP2intermediate point
[in]theP3last point

◆ GC_MakeArcOfCircle2d() [5/5]

GC_MakeArcOfCircle2d::GC_MakeArcOfCircle2d ( const gp_Pnt2d & theP1,
const gp_Vec2d & theV,
const gp_Pnt2d & theP2 )

Constructs an arc from two points and tangent vector at start point.

Parameters
[in]theP1start point
[in]theVtangent vector at start point
[in]theP2end point

Member Function Documentation

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

GC_MakeArcOfCircle2d::operator const occ::handle< Geom2d_TrimmedCurve > & ( ) const
inline

Conversion operator returning the constructed object.

Returns
resulting trimmed curve

◆ Value()

const occ::handle< Geom2d_TrimmedCurve > & GC_MakeArcOfCircle2d::Value ( ) const

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

Returns
resulting trimmed curve

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