横

縦

RISET

横から2本、縦から2本選ぶと長方形が1つ決まります。\
これを見ていきましょう。

yoko = 5 (slider from 2 to max, step 1)
tate = 3 (slider from 2 to max, step 1)
max: 10
yokoCount = 2
tateCount = 2
yokoList: {3, 5}
tateList: {1, 3}
Vertical_{1}: x = 1
Vertical_{2}: x = 2
Vertical_{3}: x = 3
Horizontal_{1}: y = 1
Horizontal_{2}: y = 2
Horizontal_{3}: y = 3
Horizontal_{4}: y = 4
Horizontal_{5}: y = 5
LowerLeft = Intersect(Horizontal_{3}, Vertical_{1})
UpperRight = Intersect(Horizontal_{5}, Vertical_{3})
Rectangle, lowerleft, f, upperright, g = Polygon(LowerLeft, (x(UpperRight), y(LowerLeft)), UpperRight, (x(LowerLeft), y(UpperRight)))

Tool: Tool1
Input: A
Output: h, g

B: (x(A), 0)
C: (0, y(A))
g = Segment(A, C)
h = Segment(A, B)