Class TargetPath
Functions
Function | summury |
---|---|
__init__(self, obj=None, NB=6, DISCR=5, ratio=0.2, width=0.1, radius=0.6, height=0.2, distance=5) | obj : the application key (more…) |
get_path(self) | |
get_target(self) | |
set_orgin_and_target(self, O=(0, 0, 1), t=(1, 0, 0), n=(0, 0, 1)) | |
get_target_position(self) | |
get_translation(self) |
Methods desciption :
init
def __init__(self, obj=None, NB=6, DISCR=5, ratio=0.2, width=0.1, radius=0.6, height=0.2, distance=5)
- → obj : the application key
- → NB : NB of segments for path
- → DISCR : Discretisation of path
- → ratio : ration of segment length
- → width : path width
- → radius : target radius @paral height : target height
get_path
def get_path(self)
get_target
def get_target(self)
set_orgin_and_target
def set_orgin_and_target(self, O=(0, 0, 1), t=(1, 0, 0), n=(0, 0, 1))
get_target_position
def get_target_position(self)
get_translation
def get_translation(self)