sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    πŸ«› Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download

    Which side of the plane?

    Scheduled Pinned Locked Moved Developers' Forum
    2 Posts 2 Posters 157 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • daikuD Offline
      daiku
      last edited by

      I have a plane and a group of points. How do I find out which side of the plane a particular point is on? I want all the points that are on the same side as a given point. All I can think of is to project each point onto the plane, and then get a vector between each point and it's projection, and then compare the directions of those vectors. Is there an easier way?

      Clark Bremer
      http://www.northernlightstimberframing.com

      1 Reply Last reply Reply Quote 0
      • TIGT Offline
        TIG Moderator
        last edited by

        That's about it! πŸ€“
        If the plane is from a face the face.normal is easily found.
        You could also extract the plane's vector from it's 'array' ?
        Project the original_point onto the plane, then offset! that cloned_point along the plane's 'normal' vector by the distance between the original_point and its projected cloned_point... and then if cloned_point == original_point the original_point is in front of the plane, otherwise it's behind the plane; you should also check separately for the original_point being exactly on the plane... and decide whether that counts or not.

        TIG

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Buy SketchPlus
        Buy SUbD
        Buy WrapR
        Buy eBook
        Buy Modelur
        Buy Vertex Tools
        Buy SketchCuisine
        Buy FormFonts

        Advertisement