Views
Foundation Package API Reference Guide
Product Documentation:
Views Documentation Home
List of all members | Public Member Functions
IlvPrintableComposite::RelativeSegmentCoordinates Class Reference

This is an abstract class that represents the concept of relative position, on an axis, of a component. More...

#include <ilviews/printing/composite.h>

Inheritance diagram for IlvPrintableComposite::RelativeSegmentCoordinates:
IlvPrintableComposite::SegmentCoordinates IlvPrintableComposite::DeltaRelativeSegmentCoordinates IlvPrintableComposite::RatioRelativeSegmentCoordinates

Public Member Functions

void setLength (IlvDim newLength)
 Sets the internal value of the length. More...
 
- Public Member Functions inherited from IlvPrintableComposite::SegmentCoordinates
virtual ~SegmentCoordinates ()
 The destructor.
 
virtual SegmentCoordinatesclone () const =0
 This function returns a new object allocated on the heap; this object is a copy of the current object. More...
 
PositionCoordinate const & getFirstPosition () const
 Gets the first PositionCoordinate of the segment. More...
 
PositionCoordinate const & getLastPosition () const
 Gets the last PositionCoordinate of the segment. More...
 
PositionCoordinate const & getOtherPosition (PositionCoordinate const &position) const
 Gets the other position than the given position of the segment. More...
 
IlBoolean isValid () const
 Returns whether the object is valid. More...
 
IlBoolean setFirstPosition (PositionCoordinate const &newPosition)
 Modifies the first PositionCoordinate. More...
 
IlBoolean setLastPosition (PositionCoordinate const &newPosition)
 Modifies the last PositionCoordinate. More...
 

Detailed Description

This is an abstract class that represents the concept of relative position, on an axis, of a component.

Library: ilvprint

Member Function Documentation

◆ setLength()

void IlvPrintableComposite::RelativeSegmentCoordinates::setLength ( IlvDim  newLength)

Sets the internal value of the length.

Warning
The object may become invalid.
Parameters
newLengthThe new length.