Point.Navigate
 
 
 

Point.Navigate

Introduced

v3.0

Description

Allows you to navigate through the points of the associated geometry.

C# Syntax

Point Point.Navigate( siNavigateComponentType in_siNavigate );

Scripting Syntax

oReturn = Point.Navigate( Navigation );

Return Value

Point

Parameters

Parameter Type Description
Navigation siNavigateComponentType Select the direction of navigation.

Examples

VBScript Example

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

See Also

PointCollection.Navigate Geometry.Points