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.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectSketcherInterfaces.GeometricElementSketcherInterfaces.Geometry2DSketcherInterfaces.Curve2DCircle2DClass 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 Point2DReturns the center point of the circle.Parameters:oCenterPointThe center point of the circle
- Return type:
- 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 circleParameters:oData[0]The X Coordinate of the circle center pointoData[1]The Y Coordinate of the circle center pointExample:The following example reads the coordinates of thecenterof the circle myCircle: double center(1) myCircle.GetCentercenter
- 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 circleParameters:oRadiusThe 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 circleParameters:iCenterXThe X Coordinate of the circle centeriCenterYThe Y Coordinate of the circle centeriRadiusThe radius of the circle
- Parameters:
i_center_x (float) –
i_center_y (float) –
i_radius (float) –
- Return type:
None