• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Geometry problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Geometry problems


  • Subject: Geometry problems
  • From: Malcolm Fitzgerald <email@hidden>
  • Date: Fri, 2 Aug 2002 21:51:22 +1000

Can anyone lead me back through the fog to my high school maths formulae?

I'm trying to calculate points on the circumference of an arc in an AppleWorks drawing frame. I want to place rotated text frames on the circumference. I've been able to figure out that the angle of rotation for the text frame is the tangent at that point on the circumference:

( 360 - start angle - [portion of arc angle] + rotation ) mod 360

Now I just need to know where to put them.

The useful properties I can obtain are the bounds, rotation, the start angle and the angle of the arc ( an example of the record appears below). How can I use this information to calculate the point at which the arc starts, ends and several equidistant points in between?

for simplicity I'm assuming the arc is a section of a circle (it could be an oval but my brain temperature rises at the thought)

{class:arc, index:1, bounds:{182.140625, 3.609375, 366.3828125, 187.8515625}, fill color:{65535, 52428, 65535}, fill pattern:2, fill gradient:off, fill texture:off, name:"", pen color:{0, 0, 0}, pen pattern:2, pen width:1.0, rotation:0, text wrap:no wrap, wrap gutter:5, lock:read write, arc angle:231, start angle:194}

--
Malcolm Fitzgerald email@hidden
Database Manager http://www.asauthors.org
The Australian Society of Authors ph: 02 93180877 fax: 02 93180530
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
  • Follow-Ups:
    • Re: Geometry problems
      • From: Andy Wylie <email@hidden>
    • Re: Geometry problems
      • From: Andy Wylie <email@hidden>
  • Prev by Date: Re: making a new folder
  • Next by Date: Re: get default browser?
  • Previous by thread: Re: Simple Drag-n-drop action
  • Next by thread: Re: Geometry problems
  • Index(es):
    • Date
    • Thread