Segment

Object Hierarchy | Related C++ Class: Segment

Inheritance

    SIObject
       Segment

Description

A Segment is a generic concept used to describe a PolygonMesh object's Edge. Having a generic term for this concept allows the user to write code to traverse an objects geometry in a generic fashion without resorting to special case handling based on a specific geometry type.

Tip: To work with the Edge, you can use the Segment.SubComponent property which returns a SubComponent object. The SubComponent allows you to access the EdgeCollection via the SubComponent.ComponentCollection property.

Methods

IsClassOf | IsEqualTo | Navigate

Properties

Application | Categories | FullName | Help
Index | Name | NestedObjects | Origin
OriginPath | Parent | Points | Samples
SubComponent | Type |  |

Examples

VBScript Example

    set oRoot = Application.ActiveProject.ActiveScene.Root
    set oObj = oRoot.AddGeometry( "Cube", "MeshSurface" )
    set oGeometry = oObj.ActivePrimitive.Geometry
    set oSegment = oGeometry.Segments(0)

See Also

SegmentCollection | Point | Facet | Geometry

Autodesk Softimage v7.5