Object Hierarchy | 関連する C++クラス:Facet
ファセット
v1.5
ファセットは、PolygonMesh の PolygonFace および NurbsSurfaceMesh の NurbsSurface へのアクセスに使用される一般的なオブジェクトです。汎用的なオブジェクトを使用することにより、特定のジオメトリタイプに応じた処理をせずに、オブジェクトのジオメトリをトレースするコードを書くことができます。
ヒント:より限定的なジオメトリタイプを操作する場合は、SubComponent オブジェクトを戻す Facet.SubComponent プロパティを使用できます。SubComponent を使用すると、SubComponent.ComponentCollection プロパティから PolygonFaceCollection および NurbsSurfaceCollection にアクセスできます。
Application | Categories | FullName![]() | Help |
Index![]() | Name![]() | NbPoints![]() | NestedObjects |
Origin | OriginPath | Parent | Points![]() |
Samples![]() | Segments![]() | SubComponent![]() | Type![]() |
set oRoot = ActiveProject.ActiveScene.Root set oCube = oRoot.AddGeometry( "Cube", "MeshSurface" ) set oGeometry = oCube.ActivePrimitive.Geometry set oFacets = oGeometry.Facets LogMessage typename(oFacets) for each oFacet in oFacets for each oSegment in oFacet.Segments LogMessage "Facet.Segment.Index " & oSegment.Index next next |