PathPointFactory#

class ansys.stk.core.graphics.PathPointFactory#

Factory creates path points.

Overview#

initialize

Initialize a new path point.

initialize_with_date

Initialize a new path point with the given date.

initialize_with_date_and_position

Initialize a new path point with the given date and position.

initialize_with_date_position_and_color

Initialize a new path point with the given date, position and color.

initialize_with_date_position_color_and_translucency

Initialize a new path point with the given date, position, color and translucency.

Import detail#

from ansys.stk.core.graphics import PathPointFactory

Method detail#

PathPointFactory.initialize(self) PathPoint#

Initialize a new path point.

Returns:

PathPoint

PathPointFactory.initialize_with_date(self, path_point_date: Date) PathPoint#

Initialize a new path point with the given date.

Parameters:

path_point_date : Date

Returns:

PathPoint

PathPointFactory.initialize_with_date_and_position(self, path_point_date: Date, position: list) PathPoint#

Initialize a new path point with the given date and position.

Parameters:

path_point_date : Date

position : list

Returns:

PathPoint

PathPointFactory.initialize_with_date_position_and_color(self, path_point_date: Date, position: list, color: agcolor.Color) PathPoint#

Initialize a new path point with the given date, position and color.

Parameters:

path_point_date : Date

position : list

color : Color

Returns:

PathPoint

PathPointFactory.initialize_with_date_position_color_and_translucency(self, path_point_date: Date, position: list, color: agcolor.Color, translucency: float) PathPoint#

Initialize a new path point with the given date, position, color and translucency.

Parameters:

path_point_date : Date

position : list

color : Color

translucency : float

Returns:

PathPoint