Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how can i get.................

Status
Not open for further replies.

dipt

Newbie level 2
Joined
Apr 9, 2009
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,290
hi
how can i get the co-ordinates of each node of a octagon circle around a central node having co-ordinate (0,0,0)
plz help me :cry:
 

If I'm getting this right you have a circle circumscribing an octagon with centre at the origin.
But, as both the objects described are planes, the coordinates need only be (0,0).
Calculate the angle subtended by each pair of radii marking the vertices of the octagon 360/8
then use the arcsine function to get the length of the segment ie the edge.
use distance formula backwards.
Hope this is clear
 

Hello!

I will assume that:
Your octagon is in a circle of radius r.
The center of this circle is (0,0). Is it right?

Now let's assume that you have 4 "nodes" on the axes. Therefore, these 4
nodes will be (r, 0), (0, r), (-r, 0), (0, -r)
As for the 4 other nodes, they will be:
(r*root2, r*root2), (-r*root2, r*root2), (-r*root2, -r*root2), (r*root2, -r*root2)

where root2 = half of root of 2 or 0.707...

And more generally, if you have an octagon rotated by angle phi, the "nodes"
will be:
(r*cos(phi+i*pi/4), r*sin(phi+i*pi/4), i being in {0, 1, 2, 3, 4, 5, 6, 7}.

Dora

dipt said:
hi
how can i get the co-ordinates of each node of a octagon circle around a central node having co-ordinate (0,0,0)
plz help me :cry:
 

thanx
it is really helpful to me.:D
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top