Geometry.Points operator

説明

このオブジェクトの各Pointオブジェクトを含むPointCollectionを戻します。

C#構文

// get accessor

PointCollection rtn = Geometry.Points;

VBScript の例

set oRoot = Application.ActiveProject.ActiveScene.Root

set oObj = oRoot.AddGeometry( "Cube", "MeshSurface" )

set oGeometry = oObj.ActivePrimitive.Geometry

for i=0 to oGeometry.Points.Count - 1

	set oPos = oGeometry.Points(i).Position

	Application.LogMessage oPos.x & "," & oPos.y & "," & oPos.z

next

関連項目

Point Geometry.Segments Geometry.Facets Geometry