Object Hierarchy | 関連する C++クラス:Segment
Segment
Segment は、PolygonMeshオブジェクトのEdgeの説明に使用される汎用的な概念です。この概念の記述を汎用的にすることにより、特殊な場面で特定のジオメトリタイプに応じた処理をせずとも、ユーザは汎用的な方法でオブジェクトジオメトリを交換するコードを記述できます。
ヒント:SubComponentを操作する場合は、Segment.SubComponentオブジェクトを戻すEdgeプロパティを使用できます。SubComponent
を使用すると、SubComponent.ComponentCollectionプロパティからEdgeCollectionにアクセスできます。
Application | Categories | FullName![]() |
Help |
Index![]() |
Name![]() |
NestedObjects | Origin |
OriginPath | Parent | Points![]() |
Samples![]() |
SubComponent![]() |
Type![]() |
||
set oRoot = Application.ActiveProject.ActiveScene.Root set oObj = oRoot.AddGeometry( "Cube", "MeshSurface" ) set oGeometry = oObj.ActivePrimitive.Geometry set oSegment = oGeometry.Segments(0) |