Click here to Skip to main content
15,919,931 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Auto-update of my app? Pin
Geert van Horrik24-Feb-05 1:27
Geert van Horrik24-Feb-05 1:27 
GeneralZ order Pin
Arrun13-Jan-05 1:18
Arrun13-Jan-05 1:18 
GeneralRe: Z order Pin
Shog913-Jan-05 11:51
sitebuilderShog913-Jan-05 11:51 
GeneralBitmap Picking and Moving Pin
masd7913-Jan-05 0:56
masd7913-Jan-05 0:56 
GeneralRe: Bitmap Picking and Moving Pin
KaЯl13-Jan-05 4:44
KaЯl13-Jan-05 4:44 
GeneralMathematics question Pin
Rassul Yunussov13-Jan-05 0:04
Rassul Yunussov13-Jan-05 0:04 
GeneralRe: Mathematics question Pin
Selvam R13-Jan-05 0:15
professionalSelvam R13-Jan-05 0:15 
GeneralRe: Mathematics question Pin
Iain Clarke, Warrior Programmer13-Jan-05 5:16
Iain Clarke, Warrior Programmer13-Jan-05 5:16 
I had a similar problem a couple of years ago.

I ended up learing a lot of matrix & vector maths I'd forgotten about years previously.

But that was transforming points from one coordinate system to another, with O'X' and O'Y'
not necessarily orthogonal (at 90<super>o).

But if your coordinate systems are parallel, and you want to go from one system to another...
Transforming point P...

P1 = P - O
P1.x /= (OX).x
P1.y /= (OX).y
P2.x *= (O'X').x
P2.y *= (O'X').y
P' = P2 + O'

I ended up with my own matrix & vector classes, with a function that took 3 coords in one
system (O,X,Y), 3 in the next (O',X',Y') and produced a matrix to transform between them:
M = dxfMatrix::Warp(A,B,C, A',B',C')
P' = MP
But its not publishable! Maybe this counts as teasing...

If you need any specific help, let me know.

Iain.
GeneralRe: Mathematics question Pin
Rassul Yunussov18-Jan-05 19:59
Rassul Yunussov18-Jan-05 19:59 
GeneralRe: Mathematics question Pin
Iain Clarke, Warrior Programmer18-Jan-05 22:50
Iain Clarke, Warrior Programmer18-Jan-05 22:50 
QuestionPush Button Properies-Icon prompt? Pin
José Luis Sogorb12-Jan-05 23:57
José Luis Sogorb12-Jan-05 23:57 
AnswerRe: Push Button Properies-Icon prompt? Pin
Selvam R13-Jan-05 0:05
professionalSelvam R13-Jan-05 0:05 
GeneralRe: Push Button Properies-Icon prompt? Pin
José Luis Sogorb13-Jan-05 23:18
José Luis Sogorb13-Jan-05 23:18 
Generalreading from serial port Pin
doneirik12-Jan-05 23:37
doneirik12-Jan-05 23:37 
GeneralRe: reading from serial port Pin
Blake Miller13-Jan-05 4:38
Blake Miller13-Jan-05 4:38 
Questionhow to get a running application Pin
spiced12-Jan-05 23:31
spiced12-Jan-05 23:31 
AnswerRe: how to get a running application Pin
Selvam R12-Jan-05 23:42
professionalSelvam R12-Jan-05 23:42 
GeneralRe: how to get a running application Pin
spiced13-Jan-05 0:16
spiced13-Jan-05 0:16 
GeneralRe: how to get a running application Pin
ThatsAlok13-Jan-05 0:51
ThatsAlok13-Jan-05 0:51 
GeneralRe: how to get a running application Pin
spiced13-Jan-05 17:07
spiced13-Jan-05 17:07 
GeneralRe: how to get a running application Pin
ThatsAlok13-Jan-05 18:47
ThatsAlok13-Jan-05 18:47 
GeneralApplication fails in Release mode.... Pin
Jagadeesh VN12-Jan-05 23:27
Jagadeesh VN12-Jan-05 23:27 
GeneralRe: Application fails in Release mode.... Pin
PJ Arends13-Jan-05 6:55
professionalPJ Arends13-Jan-05 6:55 
GeneralThanks Blake Miller: CreateProcess and process groups (2) Pin
ionzarate12-Jan-05 23:16
ionzarate12-Jan-05 23:16 
GeneralGet Sector!! !! Pin
LiYS12-Jan-05 22:57
LiYS12-Jan-05 22:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.