Skip to main content
Skip table of contents

get_normal(x1, x2, x3)

기능

3개의 작업 공간 지점(posx)으로 이루어진 평면의 normal vector를 리턴합니다. 방향은 시계방향 기준입니다.

인수

인수명자료형기본값설명

x1

posx

list (float[6])

-

posx 또는

position list

x2

posx

list (float[6])

-

posx 또는

position list

x3

posx

list (float[6])

-

posx 또는

position list

리턴

설명

float[3]

normal vector

예외

예외설명

DR_Error (DR_ERROR_TYPE)

인수들의 데이터형 오류 시

DR_Error (DR_ERROR_VALUE)

인수의 값이 유효하지 않을 시

DR_Error (DR_ERROR_RUNTIME)

C Extension 모듈 에러 발생 시

DR_Error (DR_ERROR_STOP)

프로그램 강제 종료 시

예제

PY
x1 = posx(0, 500, 700, 30, 0, 90)

x2 = posx(500, 0, 700, 0, 0, 45)

x3 = posx(300, 100, 500, 45, 0, 45)

vect = get_normal(x1, x2, x3)


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.