References > Creo Schematics 4.0 API Guide > The Component Package > Class Segment
  
Class Segment
This concrete class represents a fiber segment.
public class Segment
extends Component
Hierarchical Diagram
Direct Known Subclasses
None
Constructor
public Segment ()
Methods
reverse
Reverses the direction of the segment and all representations of it.
public void reverse
Throws: RSDException
getFromPort
Returns the port where the segment starts.
public Port getFromPort
Throws: RSDException
getToPort
Returns the port where the segment ends.
public Port getToPort
Throws: RSDException
Methods Inherited
The methods inherited from other classes are:
Class
Methods Inherited
rsdesigner.design.PropertySet
getIntegerProperty, getProperties, getProperty, getRealProperty, getStringProperty, getType