You are here:

Advanced Math/Projecting 2d points onto an arbitrary 3d plane

Advertisement


Question
I am doing some physics programming, and I need to be able to generate a
circle of 3d points around a given center point on a given plane.  So if I
randomly made a plane in 3d space, I could generate a given number of
points around a given point on the plane (in global coords) with a given
radius.

given:

The plane is defined by an normal vector and scalar value 'k'.
Vectors are all x,y,z and basic vector math can be performed
(project,cross,etc)

what i've tried:

I made a group of 2d points that are in a circle, and tried to project that onto
the planes, but I ended up with ellipses (which makes sense if you think
about it).

I know that somehow you could rotate and transform the 2d points (if they all
has z=0) to go onto the plane, but i'm not sure how to do this.  I can use
matrices and basic matrix function (translate, scale rotate), and rotation is by
giving angle(degrees) and then the vector to rotate around.

I am completely stuck on this any help would be greatly appreciated.  

Answer
www.algebrahelp.com/calculators

click on 3D Equation Graphing Calculator.

for a 3D, you have to take in x, y, and z form. if you are working with 2d points, then you have (x,y), (x,z), and (y,z), i'm guessing your only using (x,y) type coordinates.

keep in mind that the circle cordinates are

(x - h)^2 + (y - k)^2 = r^2

you might need to be thinking spherically.

Other than this, sorry i can't help you, because i don't work in 3D.

except when trying to find solutions to

ax + bx + cz = d

type problems where you have workable rows and columns. And i don't use matrices to solve them.

Advanced Math

All Answers


Answers by Expert:


Ask Experts

Volunteer


Sherman D.

Expertise

I can answer questions dealing in mathematics of all kinds except for Physics and Calculus, but i can answer questions in Pre-Calculus and Chemistry. I can also answer questions in Recipes of all kinds. I can find games cheats/walkthroughs, but i can`t find a specific game online or offline. I can also do history and recipes for alcoholic beverages.

Experience

Mathematics, Recipes, History, and Games.

Education/Credentials
High School graduated. I graduated with honors, and i was in Beta Club for a year and a half.

Awards and Honors
Principle's list and A and B honor roll in high school only.

©2012 About.com, a part of The New York Times Company. All rights reserved.