v3.0
Allows you to navigate through the points of the associated geometry.
Point Point.Navigate( siNavigateComponentType in_siNavigate ); |
oReturn = Point.Navigate( Navigation ); |
Parameter | Type | Description |
---|---|---|
Navigation | siNavigateComponentType | Select the direction of navigation. |
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 |