Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 969215
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T02:36:35+00:00 2026-05-16T02:36:35+00:00

The general problem is projecting a polygon onto a plane is widely solved, but

  • 0

The general problem is projecting a polygon onto a plane is widely solved, but I was wondering if anybody could make some suggestions for my particular case.

I have a planar polygon P in 3-space and I would like to project it onto the plane through the origin that is orthogonal to the unit vector u. The vertices of P and the coordinates of u are the only data I have (all w.r.t. the standard basis of R^3).

However, I don’t just want the projected coordinates. I actually would like to find an orthonormal basis of the plane orthogonal to u and to then find the coordinates of the projected vertices in this new basis.

The basis itself doesn’t matter so long as it is orthonormal. So really I need to do two things within the framework of the GNU Scientific Library:

(1) Find two orthonormal basis vectors for the homogeneous plane orthogonal to the unit vector u.

(2) Find the coordinates in this basis of the projection of P’s vertices onto the plane.

Any ideas on how to do this using gsl?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T02:36:35+00:00Added an answer on May 16, 2026 at 2:36 am

    I haven’t used GSL, but you only need to use dot-product, cross-product, and normalizing to get the result.

    (1) Pick any vector r that is not a multiple of u. Let v = the normalized cross-product of r and u. Let w = the cross-product of u and v. Your orthonormal basis vectors are v and w.

    (2) To project a vertex a to this plane, it’s (a dot v) * v + (a dot w) * w. (The v coordinate is a dot v, the w coordinate is a dot w)

    To help think about how this works, choose u = <1,0,0> and r = <3,0,5> to start, and visualize the 3-d vectors.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The main problem I'm having is pulling data from tables, but any other general
Update: After some more reading I see that this problem is totally general, you
I am using Delphi, but this is a simple and general problem: I'm doing
General Problem I have some objects that have some variables that are not known
This should be a general problem, i've searched but couldn't found any solution yet,
I know this is not specific to tk, but rather a more general problem
Is makefile an advanced problem or a general problem for a programmer? For a
Don't be scared of the extensive code. The problem is general. I just provided
just had a general question about how to approach a certain problem I'm facing.
I am looking for a general and complete solution to this common problem! I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.