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 operator IsEqualTo operator Navigate  
       

Properties

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

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