10.2.2 segment 함수
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
result=segment(<시작포즈>,<종료포즈>,<분할 수>,<카운터>)result=segment(<시작포즈>,<경유포즈>,<종료포즈>,<분할 수>,<카운터>) var po1,po2,po3
po1=Pose(1000.000,0.000,1938.000,0.000,0.000,0.000) # 시작포즈
po2=Pose(2000.000,0.000,1938.000,0.000,0.000,0.000) # 종료포즈
po3=segment(po1,po2,4,2)
end var po1,po2,po3,po10
po1=Pose(1000.000,0.000,1938.000,0.000,0.000,0.000) # 시작포즈
po2=Pose(1500.000,500.000,1938.000,0.000,0.000,0.000) # 경유포즈
po3=Pose(2000.000,0.000,1938.000,0.000,0.000,0.000) # 종료포즈
po10=segment(po1,po2,po3,5,3)
end