Skip to content

Commit

Permalink
Added Project Point On Plane Node
Browse files Browse the repository at this point in the history
  • Loading branch information
OmarEmaraDev committed Mar 28, 2017
1 parent ffb8df6 commit 3a6fecd
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 0 deletions.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/user_guide/nodes/geometry/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ Geometry
Convert Plane Type <convert_plane_type>
Point List Normal <point_list_normal>
Project Point On Line <project_point_on_line>
Project Point On Plane <project_point_on_plane>

.. image:: images/geometry_overview.png
33 changes: 33 additions & 0 deletions docs/user_guide/nodes/geometry/project_point_on_plane.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
Project Point On plane
======================

Description
-----------
This node takes a point and a plane and returns information about the projection of this point on that plane.

.. image:: images/project_point_on_plane_node.png
:width: 160pt

Illustration
------------

.. image:: images/project_point_on_plane_node_illustration.png

Inputs
------

- **Point** - The coordinates of the point that will be projected.
- **Plane Point** - A point on the plane.
- **Plane Normal** - The normal of the plane.


Outputs
-------

- **Projection** - The coordinates of the closest point on the plane to the input point. Mathematically this point is the point that makes a perpendicular line to the input plane which also makes a line that is parallel to the plane normal.
- **Signed Distance** - It is the shortest distance between the input point and the input plane, Which is also the distance between the projected point and the input point. Although distances can't have a negative sign, this output could have a negative sign if the point lie below the plane while positive if above.

Advanced Node Settings
----------------------

- N/A

0 comments on commit 3a6fecd

Please sign in to comment.