# Scaling a point in the center of a frame.

This topic is 1243 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

I came up with using a change of coordinate transformation  matrix  and scaling matrix with the point.

a = [1,1,0,1] the point 1,1

b = [1 0 0 0,0 1 0 0, 0 0 1 0, 2 2 0 1] the change of coordinate matrix

c = [2 0 0 0, 0 1 0 0, 0 0 1 0, 0 0 0 1] the scaling matrix

[a]**[c]

multiplying those gave me wrong answer

and scales But it doesn't work. What am I doing wrong?

Edited by terryeverlast

##### Share on other sites

b = [1 0 0 0,0 1 0 0, 0 0 1 0, 2 2 0 1] the change of coordinate matrix

this wont translate the center to the origin, this will translate it further away from the origin.

Follow the Hint part, get the box center....

- move the box center to the origin (0, 0) "change coordinates to the box coordinate system with the origin at the center"

- apply the scale "scale the box"

- undo the move "transform back to the original coordinate system"

##### Share on other sites

sorry. posted in wrong section. now in the math section

##### Share on other sites

Cross-post -- please direct any further responses to the other topic.

##### Share on other sites

This topic is 1243 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

This topic is now closed to further replies.

1. 1
2. 2
3. 3
4. 4
Rutin
18
5. 5

• 12
• 12
• 9
• 12
• 37
• ### Forum Statistics

• Total Topics
631421
• Total Posts
2999997
×