pycatia.sketcher_interfaces.parabola_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.parabola_2D.Parabola2D(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
Parabola2D

Class defining an parabola in 2D Space.
property focal_distance: float

Note

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

Returns the focal distance of the parabola in 2D space

Parameters:

oFocal
The focal distance of the parabola
Return type:

float

get_axis() tuple

Note

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

Returns the axis vector direction of the parabola in 2D
space

Parameters:

oAxis[0]
The X coordinate of the axis vector direction
oAxis[1]
The Y coordinate of the axis vector direction
Return type:

tuple

get_center() tuple

Note

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

Returns the center of the parabola in 2D space

Parameters:

oCenter[0]
The X Coordinate of the center point of the parabola

oCenter[1]
The Y Coordinate of the center point of the
parabola
Return type:

tuple

set_data(i_center_x: float, i_center_y: float, i_axis_x: float, i_axis_y: float, i_focal_distance: float) None

Note

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

Modifies the caracteristics of the parabola

Parameters:

iCenterX
The X Coordinate of the parabola center
iCenterY
The Y Coordinate of the parabola center
iAxisX
The X coordinate of the axis vector direction
iAxisY
The Y coordinate of the axis vector direction
iFocalDistance
The focal distance of the parabola
Parameters:
  • i_center_x (float) –

  • i_center_y (float) –

  • i_axis_x (float) –

  • i_axis_y (float) –

  • i_focal_distance (float) –

Return type:

None