← 수업 제작 도구
홈 › Index › parabola (type)

parabola (type) (타입 parabola)

원본: Computation Layer 문서(parabola (type))

코드 안의 회색 줄은 원문 영어 주석이고, 파란 줄은 그 영어 주석의 번역이며, 연분홍 줄은 코드가 하는 일의 설명이다. 항목 설명은 번역이 아니라 해석이며 원문은 접어 둔 "원문(영어) 보기"에 있다.

포물선을 나타낸다.

원문(영어) 보기

Represents a parabola.

속성(Attributes)

getCoefficient type:parabola:getCoefficient

포물선의 3x3 계수 행렬을 가져온다. 각 행은 x의 항, 각 열은 y의 항을 나타낸다.

원문(영어) 보기

Get the 3x3 coefficient matrix of a parabola where each row represents x terms and each column represents y terms.

# Create a variable for a conic type using the
# latex input from this component.
▷ 이 구성요소의 latex 입력으로 conic 타입 변수를 만든다.
fn = conic(this.latex)
▶ 변수 fn은 이 구성요소에 입력된 latex로 만든 conic(원뿔곡선) 객체(conic(this.latex))로 한다.
conic(latex)는 latex 글자로 conic(원뿔곡선) 객체를 만든다. latex는 입력한 식의 LaTeX 글자를 가져온다.
# Get the coefficients in columns 1, 2, and 3 of # The first row of the coefficient matrix. ▷ 계수 행렬의 첫 번째 행에서 1, 2, 3열의 계수를 가져온다. c11 = fn.getCoefficient(1,1) ▶ 변수 c11은 fn의 3x3 계수 행렬에서 1행 1열의 계수(fn.getCoefficient(1,1))로 한다.
getCoefficient(행, 열)은 3x3 계수 행렬에서 그 행과 열의 계수를 가져온다. 행은 x의 항, 열은 y의 항에 해당한다.
c12 = fn.getCoefficient(1,2) ▶ 변수 c12는 fn의 3x3 계수 행렬에서 1행 2열의 계수(fn.getCoefficient(1,2))로 한다. c13 = fn.getCoefficient(1,3) ▶ 변수 c13은 fn의 3x3 계수 행렬에서 1행 3열의 계수(fn.getCoefficient(1,3))로 한다. # Get The coefficients in columns 1 and 2 of # the second row of the coefficient matrix. ▷ 계수 행렬의 두 번째 행에서 1열과 2열의 계수를 가져온다. c21 = fn.getCoefficient(2,1) ▶ 변수 c21은 fn의 3x3 계수 행렬에서 2행 1열의 계수(fn.getCoefficient(2,1))로 한다. c22 = fn.getCoefficient(2,2) ▶ 변수 c22는 fn의 3x3 계수 행렬에서 2행 2열의 계수(fn.getCoefficient(2,2))로 한다. # Get the coefficient in column 1 of row 3 # of the coefficient matrix. ▷ 계수 행렬의 세 번째 행에서 1열의 계수를 가져온다. c31 = fn.getCoefficient(3,1) ▶ 변수 c31은 fn의 3x3 계수 행렬에서 3행 1열의 계수(fn.getCoefficient(3,1))로 한다.

isVertical type:parabola:isVertical

포물선이 y축에 나란하면 참.

원문(영어) 보기

Returns true if the parabola is aligned to the y axis.

# returns TRUE if the conic is a vertical parabola.
▷ conic이 수직 포물선이면 TRUE를 돌려준다.
match = conic(this.latex).verticalParabola.isVertical
▶ 변수 match는 conic(this.latex).verticalParabola.isVertical, 즉 conic이 y축에 나란한 포물선이면 참인 값으로 한다.
conic(latex)는 latex 글자로 conic(원뿔곡선) 객체를 만든다. .verticalParabola.isVertical은 포물선이 y축에 나란하면 참이다.

isHorizontal type:parabola:isHorizontal

포물선이 x축에 나란하면 참.

원문(영어) 보기

Returns true if the parabola is aligned to the x axis.

# returns TRUE if the conic is a vertical parabola.
▷ conic이 수직 포물선이면 TRUE를 돌려준다.
match = conic(this.latex).horizontalParabola.isHorizontal
▶ 변수 match는 conic(this.latex).horizontalParabola.isHorizontal, 즉 포물선이 x축에 나란하면 참인 값으로 한다.
.horizontalParabola.isHorizontal은 포물선이 x축에 나란하면 참이다.

vertex type:parabola:vertex

포물선의 꼭짓점.

원문(영어) 보기

Vertex of parabola.

# Define a vertical parabola
▷ 수직 포물선을 정의한다.
parabola = conic(this.latex).verticalParabola
▶ 변수 parabola는 conic(this.latex).verticalParabola, 즉 이 구성요소에 입력된 latex로 만든 conic의 수직 포물선 객체로 한다.
conic(latex)는 latex 글자로 conic(원뿔곡선) 객체를 만든다. .verticalParabola로 수직 포물선 객체를 얻는다.
# Get the coordinates of the vertex ▷ 꼭짓점의 좌표를 가져온다. vX = parabola.vertex.x ▶ 변수 vX는 parabola.vertex.x, 즉 parabola의 꼭짓점의 x좌표로 한다.
vertex는 포물선의 꼭짓점이다.
vY = parabola.vertex.y ▶ 변수 vY는 parabola.vertex.y, 즉 꼭짓점의 y좌표로 한다.

xIntercepts type:parabola:xIntercepts

포물선의 x절편(들).

원문(영어) 보기

X intercept(s) of parabola.

# Define a vertical parabola
▷ 수직 포물선을 정의한다.
parabola = conic(this.latex).verticalParabola
▶ 변수 parabola는 conic(this.latex).verticalParabola, 즉 이 구성요소에 입력된 latex로 만든 conic의 수직 포물선 객체로 한다.
conic(latex)는 latex 글자로 conic(원뿔곡선) 객체를 만든다. .verticalParabola로 수직 포물선 객체를 얻는다.
# Get the x-intercepts as a list ▷ x절편들을 배열(List)로 가져온다. X = parabola.xIntercepts ▶ 변수 X는 parabola.xIntercepts, 즉 포물선의 x절편(들)의 배열로 한다.
xIntercepts는 포물선의 x절편(들)을 배열로 돌려준다.

yIntercepts type:parabola:yIntercepts

포물선의 y절편(들).

원문(영어) 보기

Y intercept(s) of parabola.

# Define a horizontal parabola
▷ 수평 포물선을 정의한다.
parabola = conic(this.latex).horizontalParabola
▶ 변수 parabola는 conic(this.latex).horizontalParabola, 즉 이 구성요소에 입력된 latex로 만든 conic의 수평 포물선 객체로 한다.
conic(latex)는 latex 글자로 conic(원뿔곡선) 객체를 만든다. .horizontalParabola로 수평 포물선 객체를 얻는다.
# Get the y-intercepts as a list ▷ y절편들을 배열로 가져온다. Y = parabola.yIntercepts ▶ 변수 Y는 parabola.yIntercepts, 즉 포물선의 y절편(들)의 배열로 한다.
yIntercepts는 포물선의 y절편(들)을 배열로 돌려준다.