Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Geometry on powerpoint

4,155 views
Skip to first unread message

j jones

unread,
Jun 9, 2003, 1:18:37 AM6/9/03
to
how can i measure the angle of intersection of 2 lines
drawn on powerpoint?

Glen Millar

unread,
Jun 9, 2003, 3:13:51 AM6/9/03
to
Hi,

Print the slide to A3, mark a known length along the two lines, and use
trigonometry.

--
Regards,

Glen Millar
Microsoft PPT MVP
http://www.powerpointworkbench.com/
Please tell us your ppt version, and get back to us here

"j jones" <jkj...@hotmail.com> wrote in message
news:048b01c32e46$950c3720$a301...@phx.gbl...

Craig Courter

unread,
Jun 9, 2003, 5:41:48 AM6/9/03
to
I have never tried this, but you might scan a protractor into a file, import
it, and place it behind the two lines. Or, do a search on Goggle (images)
for protractor. There are lots of graphic files with pictures of
protractors. The issue is how precise you need to get.

HTH,
Craig

"j jones" <jkj...@hotmail.com> wrote in message
news:048b01c32e46$950c3720$a301...@phx.gbl...

Shyam

unread,
Jun 9, 2003, 10:08:17 AM6/9/03
to
Jones,
The math behind it is as follows:
The slope of a line (m) is given by m=(y2-y1)/(x2-x1) where (x1,y1) and
(x2,y2) are coordinates on the line.

If m1 and m2 are the respective slopes of two lines such that m1*m2<>-1 then
the acute angle ? between them will be..
tan ? =|(m1-m2)/(1+m1*m2)|

How do you arrive at this via vba:
You need to determine the endpoints of the lines. Now, though PowerPoint
requires coordinates when you draw the line it does not return the vertices
of the line drawn. It is a lengthy process. First using the
Left,Top,Width.Height properties of the shape you need to arrive at the
bounding region of the line. Then read the Flip property states to arrive at
the coordinates of the end points, determine the direction of the line using
the code here: http://www.mvps.org/skp/ppt00038.htm, this will give you the
end point coordinates. The rest is pretty straight forward. If you need and
further help let us know.

--
Regards
Shyam Pillai

Shyam's Toolbox for PowerPoint
http://www.mvps.org/skp/toolbox

"j jones" <jkj...@hotmail.com> wrote in message
news:048b01c32e46$950c3720$a301...@phx.gbl...

Shyam

unread,
Jun 9, 2003, 10:11:29 AM6/9/03
to
Jones,
The math behind it is as follows:
The slope of a line (m) is given by m=(y2-y1)/(x2-x1) where (x1,y1) and
(x2,y2) are coordinates on the line.

If m1 and m2 are the respective slopes of two lines such that m1*m2<>-1 then
the acute angle ? between them will be..
tan ? =|(m1-m2)/(1+m1*m2)|

How do you arrive at this via vba:
You need to determine the endpoints of the lines. Now, though PowerPoint
requires coordinates when you draw the line it does not return the vertices
of the line drawn. It is a lengthy process. First using the
Left,Top,Width.Height properties of the shape you need to arrive at the
bounding region of the line. Then read the Flip property states to arrive at
the coordinates of the end points, determine the direction of the line using
the code here: http://www.mvps.org/skp/ppt00038.htm, this will give you the
end point coordinates. The rest is pretty straight forward. If you need and
further help let us know.

--
Regards
Shyam Pillai

Toolbox for PowerPoint
http://www.mvps.org/skp/toolbox

"j jones" <jkj...@hotmail.com> wrote in message
news:048b01c32e46$950c3720$a301...@phx.gbl...

B

unread,
Jun 9, 2003, 12:52:16 PM6/9/03
to
Simple, easy, and low-tech.... gotta love it.

B


"Glen Millar" <mil...@DROPSPAM.tpg.com.au> wrote in message
news:udwltalL...@TK2MSFTNGP11.phx.gbl...

Steve Rindsberg

unread,
Jun 9, 2003, 4:20:54 PM6/9/03
to
It doesn't work if you print to A4?


"B" <vest...@yahoo.com> wrote in message
news:#ncsAeqL...@tk2msftngp13.phx.gbl...

B

unread,
Jun 9, 2003, 4:40:39 PM6/9/03
to
A4 paper angles are all wrong for geometry. (g)


"Steve Rindsberg" <ab...@localhost.com> wrote in message
news:%23EpzWUs...@tk2msftngp13.phx.gbl...

Steve Rindsberg

unread,
Jun 9, 2003, 6:46:29 PM6/9/03
to
Learn something new every day around here.

Half or more of it's wrong, useless or just silly, but you do learn, gotta
give credit where it's due.


"B" <vest...@yahoo.com> wrote in message

news:uxHHqdsL...@TK2MSFTNGP12.phx.gbl...

Robert Lerner

unread,
Jun 11, 2003, 11:55:46 PM6/11/03
to
Try my low tech method... ;-)

Draw a long and short rectangle (horizontal).
Copy it to make a duplicate.
Rotate (c'wise) the first rectangle to be parallel with the first line.
(First line starting from 0° and moving c'wise.)
Rotate (c'wise) the second rectangle to be parallel with the other line.
Double click the second rectangle and in the Size tab, note the rotation
amount.
Double click the first rectangle and in the Size tab, note the rotation
amount.
Subtract the rotation amount of rectangle 1 from rectangle 2.

That should equal the angle of the intersection.

--
-Robert Lerner


"j jones" <jkj...@hotmail.com> wrote in message
news:048b01c32e46$950c3720$a301...@phx.gbl...

Martin Conradi

unread,
Jun 12, 2003, 4:58:48 AM6/12/03
to
Draw 2 intersecting lines. Display them on a 16:9 monitor.

Then use the monitor's horizontal and vertical size buttons and you can
change the angle to anything you want. (Except of course right angles drawn
between a vertical and horizontal line)

In other words, the angle you display is a function of the display device.
All the geometry in the world will not help you display an angle accurately
unless you are on a fixed and calibrated monitor. In which case stick a
protractor onto the screen and do it that way!

Martin Conradi
www.showcase-online.co.uk


"Robert Lerner" <RobertLe...@yahoo.comREMOVETHIS> wrote in message
news:OEVzCaJM...@tk2msftngp13.phx.gbl...

Robert Lerner

unread,
Jun 12, 2003, 8:19:38 AM6/12/03
to
Well, yeah... but where's the fun in that?

;-)

--
-Robert Lerner


"Martin Conradi" <show...@showcase.xyz> wrote in message
news:bc9fc9$adi$1$8300...@news.demon.co.uk...

@powerpointworkbench.com Glen Millar

unread,
Jun 12, 2003, 8:30:58 AM6/12/03
to
Heck, while you guys argue, the client has printed the file on A4, got the
measurements and gone onto the next problem!

ROFLMHO!

Interesting responses, though. I'm off to bed.

--
Regards,

Glen Millar
Microsoft PPT MVP
http://www.powerpointworkbench.com/
Please tell us your ppt version, and get back to us here

Remove spaces from signature


"Robert Lerner" <RobertLe...@yahoo.comREMOVETHIS> wrote in message

news:O1ybnzNM...@TK2MSFTNGP10.phx.gbl...

Steve Rindsberg

unread,
Jun 12, 2003, 11:20:30 AM6/12/03
to
I tried printing on A3.75 but PPT crashed with a .Type 13 / Type Mismatch
error.

--

Steve Rindsberg PPT MVP
PPTLive ( http://www.pptlive.com ) Featured Speaker
CorelWorld ( http://www.corelworld.com ) Featured Speaker
PPTools: http://www.pptools.com
PPT FAQ: http://www.pptfaq.com


"Glen Millar" <glen @ powerpointworkbench.com> wrote in message
news:OiXA95NM...@TK2MSFTNGP11.phx.gbl...

Robert Lerner

unread,
Jun 12, 2003, 4:18:47 PM6/12/03
to
Client? There's a client involved?? Shoot, I thought this was just a wacky
exercise.

;-)

--
-Robert Lerner


"Glen Millar" <glen @ powerpointworkbench.com> wrote in message
news:OiXA95NM...@TK2MSFTNGP11.phx.gbl...

tolman...@yale.edu

unread,
Feb 2, 2020, 10:41:43 PM2/2/20
to
On Monday, June 9, 2003 at 1:18:37 AM UTC-4, j jones wrote:
> how can i measure the angle of intersection of 2 lines
> drawn on powerpoint?

Superimpose a new line on one of the lines. By definition PPT sets its angle to 0. Then rotate the new line until it is parallel to the other line - that's the angle
0 new messages