Segment.Points operator

説明

セグメント上の各Pointを含むPointCollectionを戻します。

C#構文

// get accessor

PointCollection rtn = Segment.Points;

VBScript の例

set oRoot = Application.ActiveProject.ActiveScene.Root

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

set oGeometry = oObj.ActivePrimitive.Geometry

for each oSegment in oGeometry.Segments

	LogMessage "segment[" & oSegment.Index & "]"

	for each oPoint in oSegment.Points

		LogMessage oPoint.Position.x & "," & oPoint.Position.y & "," &oPoint.Position.z

	next

next

関連項目

Point Geometry.Segments Geometry.Facets Geometry