Author Topic: Calculate the coordinates of the point  (Read 4706 times)

0 Members and 1 Guest are viewing this topic.

Hugo

  • Bull Frog
  • Posts: 430
Re: Calculate the coordinates of the point
« Reply #15 on: February 10, 2017, 01:15:15 AM »
Yes for rectangles, lines and poly is with me.

Then I understand something wrong?  :-(
For X-Ref it is unfortunately not?   :-(


Ja für Rechtecke, Linien und Poly geht es bei mir.

Dann verstehe ich was falsch ?
Für X-Ref geht es leider nicht ?
« Last Edit: February 10, 2017, 01:20:42 AM by Hugo »

andy_lee

  • Newt
  • Posts: 147
Re: Calculate the coordinates of the point
« Reply #16 on: February 10, 2017, 01:28:41 AM »
The result only rectangle is right ! because the angle is 90
you can draw 2 line . the angle is not 90. test again
andy.
Best regards.

Hugo

  • Bull Frog
  • Posts: 430
Re: Calculate the coordinates of the point
« Reply #17 on: February 10, 2017, 01:36:52 AM »
Hier


andy_lee

  • Newt
  • Posts: 147
Re: Calculate the coordinates of the point
« Reply #18 on: February 10, 2017, 01:42:48 AM »
andy.
Best regards.

Hugo

  • Bull Frog
  • Posts: 430
Re: Calculate the coordinates of the point
« Reply #19 on: February 10, 2017, 01:47:25 AM »
OK now I understand.
This is not true.   :embarrassed:

It's Alive!

  • Retired
  • Needs a day job
  • Posts: 8696
  • AKA Daniel
Re: Calculate the coordinates of the point
« Reply #20 on: February 10, 2017, 02:10:16 AM »

If you consider a vector has a distance and a direction, the direcrion can be expressed by an X distance and a Y distance,
and the hypotenuse of the triangle formed is the vector distance.

A unit vector has the triangle hypotenuse reduced to one unit with the X and Y distances modified accordingly.

This may help :
https://www.khanacademy.org/math/precalculus/vectors-precalc/unit-vectors/v/unit-vector-intro

unit vectors have little hats

kdub_nz

  • Mesozoic keyThumper
  • SuperMod
  • Water Moccasin
  • Posts: 2135
  • class keyThumper<T>:ILazy<T>
Re: Calculate the coordinates of the point
« Reply #21 on: February 10, 2017, 02:43:53 AM »
Yep ... a party hat.


but just to show they are not all frivolous ...

Consider a unit vector with a direction of 30 degrees.

cos(30) is 0.8660 which is the x offset
sin(30) is 0.50 which is the Y offset.

similarly cos(45) and sin(45) are both 0,7071  which is the the x an Y offset from the startpoint.

//------------------

My old math master used to say something like " the universe is made up of circles and triangles"
... I've since come to understand that he wasn't really joking.
Called Kerry in my other life
Retired; but they dragged me back in !

I live at UTC + 13.00

---
some people complain about loading the dishwasher.
Sometimes the question is more important than the answer.

andy_lee

  • Newt
  • Posts: 147
Re: Calculate the coordinates of the point
« Reply #22 on: February 10, 2017, 04:12:53 AM »
Still can't understand. my math is so bad.
Math master and Lisp master .please give a fish.
@Lee Mac @ribarm @roy_043  ....
andy.
Best regards.

kdub_nz

  • Mesozoic keyThumper
  • SuperMod
  • Water Moccasin
  • Posts: 2135
  • class keyThumper<T>:ILazy<T>
Re: Calculate the coordinates of the point
« Reply #23 on: February 10, 2017, 04:20:21 AM »
Quote
I can't understand No.3. what is unit vector?

You're welcome.

Quote
... my math is so bad.

Well, do something about it.


I'm outa here.


Called Kerry in my other life
Retired; but they dragged me back in !

I live at UTC + 13.00

---
some people complain about loading the dishwasher.
Sometimes the question is more important than the answer.

andy_lee

  • Newt
  • Posts: 147
Re: Calculate the coordinates of the point
« Reply #24 on: February 10, 2017, 05:14:47 AM »
This I do:
https://www.theswamp.org/index.php?topic=52652.msg575395#msg575395

I want use Lee's method. but I can't understand.
andy.
Best regards.

It's Alive!

  • Retired
  • Needs a day job
  • Posts: 8696
  • AKA Daniel
Re: Calculate the coordinates of the point
« Reply #25 on: February 10, 2017, 07:20:49 AM »
Yep ... a party hat.

Joking aside, thanks for the link  8-)