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(int _identifier, BSplineCurveObject *&_object)
const QStringList SOURCE_OBJECTS("source")
Iterable object range.
const QStringList TARGET_OBJECTS("target")
Iterable object range.
bool dataType(DataType _type) const
bool getSourcePolylines(std::vector< PolyLine * > &_polylines)
Get a pointer to every Polyline which is marked as a source.
DLLEXPORT ObjectIterator objectsEnd()
Return Iterator to Object End.
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