81 if( _polylines.back() == 0)
82 std::cerr <<
"ERROR: Polyine get_source_polylines fatal error\n";
85 return ( !_polylines.empty() );
101 if( _polylines.back() == 0)
102 std::cerr <<
"ERROR: Polyine getTargetPolylines fatal error\n";
105 return ( !_polylines.empty() );
125 return ( _object != 0 );
136 return object->
line();
PolyLine * polyLine(BaseObjectData *_object)
Get a poly Line from an object.
PolyLineObject * polyLineObject(BaseObjectData *_object)
Cast an BaseObject to a PolyLineObject if possible.
bool getObject(const int _identifier, BaseObject *&_object)
Get the object which has the given identifier.
const QStringList SOURCE_OBJECTS("source")
Iterable object range.
bool dataType(DataType _type) const
DLLEXPORT ObjectIterator objectsEnd()
Return Iterator to Object End.
bool getSourcePolylines(std::vector< PolyLine *> &_polylines)
Get a pointer to every Polyline which is marked as a source.
bool getTargetPolylines(std::vector< PolyLine *> &_polylines)
Get a pointer to every Polyline which is marked as a target.
PolyLine * line()
return a pointer to the line
const QStringList TARGET_OBJECTS("target")
Iterable object range.