Parabola2D (Object)

Class defining an parabola in 2D Space.

Properties


Property FocalDistance() As (Read Only)
Returns the focal distance of the parabola in 2D space
Parameters:
oFocal
The focal distance of the parabola

Methods


Sub GetAxis( 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
Sub GetCenter( 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
Sub SetData( iCenterX, iCenterY, iAxisX, iAxisY, 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