pycatia.sketcher_interfaces.circle_2D

Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445

Warning

The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.

class pycatia.sketcher_interfaces.circle_2D.Circle2D(com_object)

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
SketcherInterfaces.GeometricElement
SketcherInterfaces.Geometry2D
SketcherInterfaces.Curve2D
Circle2D

Class defining a circle in 2D Space.
property center_point: Point2D

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property CenterPoint() As Point2D

Returns the center point of the circle.

Parameters:

oCenterPoint
The center point of the circle
Return type:

Point2D

get_center() tuple

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
o Sub GetCenter(CATSafeArrayVariant oData)

Returns the center of the circle

Parameters:

oData[0]
The X Coordinate of the circle center point
oData[1]
The Y Coordinate of the circle center point
Example:
The following example reads the coordinates of the
center
of the circle myCircle: double center(1) myCircle.GetCenter
center
Return type:

tuple

property radius: float

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property Radius() As double (Read Only)

Returns the radius of the circle

Parameters:

oRadius
The radius of the circle
Return type:

float

set_data(i_center_x: float, i_center_y: float, i_radius: float) None

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
o Sub SetData(double iCenterX,
double iCenterY,
double iRadius)

Modifies the caracteristics of the circle

Parameters:

iCenterX
The X Coordinate of the circle center
iCenterY
The Y Coordinate of the circle center
iRadius
The radius of the circle
Parameters:
  • i_center_x (float) –

  • i_center_y (float) –

  • i_radius (float) –

Return type:

None