Force creation of point instead of vector

SharkD shared this question 12 months ago
Answered

When I paste the following into the input bar, a vector is automatically created.

point02_b = point02_a - ((x(Corner(text02_a, 2)) - x(point02_a)) / 2, (y(point02_a) - y(Corner(text02_a, 1))) / 2)

How do I force the program to generate a new point instead? Thanks.

Best Answer
photo

I ended up doing this:

point02_b = Point(point02_a, -1 ((x(Corner(text02_a, 2)) - x(point02_a)) / 2, (y(point02_a) - y(Corner(text02_a, 1))) / 2))

Thanks for the help!

Comments (4)

photo
1

Create the object with Point02_b = .....

after this rename Point02_b to point02_b

Alternatively:

point02_b = Point(Vector(<expression for a point>), 1)

photo
1

I ended up doing this:

point02_b = Point(point02_a, -1 ((x(Corner(text02_a, 2)) - x(point02_a)) / 2, (y(point02_a) - y(Corner(text02_a, 1))) / 2))

Thanks for the help!

photo
1

This was not your question but:

if point02_b must be the midpoint of text02_a then the following command is more short:

point02_b = Midpoint(Corner(text02_a, 1), Corner(text02_a, 3))

photo
1

`point02_a` is the control point. `text02_a` must be attached to this point. Finding the midpoint of `text02_a` is interesting but not useful to me.

photo
© 2019 International GeoGebra Institute