projectPoint()

概要

PlanePoint と nor によって定義される平面に P、プレーンの point を戻します。 この操作によって正確な平面上の最も近い point "ドロップ" として記述され、平面法線は投影方向になります。

構文

projectPoint ( p As Point, _
               planePoint As Point, _
               nor As Vector ) As Point 
引数 [タイプ] 説明
p Point 投影するには、 point をクリックします。
planePoint Point プレーンの定義を point します。
nor Vector 平面の法線を定義する vector をクリックします。 これは、投影方向でもあります。

例 1

Intent >projectPoint(point(1,1,1), point(0,0,0), vector(1,1,1)) 
--> Point_(0.0, 0.0, 0.0, WorldFrame()) 

例 2

Intent >projectPoint(point(1,1,1), point(0,0,0), vector(0,0,1)) 
--> Point_(1.0, 1.0, 0.0, WorldFrame())