Point.Navigate

導入

v3.0

詳細

ジオメトリのポイント間を移動できます。

スクリプト 構文

oReturn = Point.Navigate( Navigation );

戻り値

Point

パラメータ

パラメータ タイプ 詳細
Navigation siNavigateComponentType 移動方向を選択します。

VBScript の例

set oObj = ActiveSceneRoot.addgeometry( "Cube", "MeshSurface" )
set oPoint = oObj.ActivePrimitive.Geometry.Points(7)
logmessage "The first point of this geometry is of index " & oPoint.Navigate(siFirsComponent).Index
logmessage "The last point of this geometry is of index " & oPoint.Navigate(siLastComponent).Index
logmessage "The next point is of index " & oPoint.Navigate(siNextComponent).Index
logmessage "The previous point is of index " & oPoint.Navigate(siPreviousComponent).Index

関連項目

PointCollection.Navigate Geometry.Points