Handle(HYDROData_Polyline)::DownCast(aDoc->CreateObject(KIND_POLYLINE));
// empty image
- int aDim = aPolyline->getDimension();
+ int aDim = aPolyline->GetDimension();
CPPUNIT_ASSERT(aDim == 0 );
- aPolyline->setDimension(2);
- aDim = aPolyline->getDimension();
+ aPolyline->SetDimension(2);
+ aDim = aPolyline->GetDimension();
CPPUNIT_ASSERT( aDim == 2 );
- aPolyline->setDimension(3);
- aDim = aPolyline->getDimension();
+ aPolyline->SetDimension(3);
+ aDim = aPolyline->GetDimension();
CPPUNIT_ASSERT( aDim == 3 );
PolylineSection aSect1;
aSect1.myIsClosed = true;
aSections << aSect2;
- aPolyline->setPolylineData( aSections );
- QList<PolylineSection> aRestoredSect = aPolyline->getPolylineData();
+ aPolyline->SetPolylineData( aSections );
+ QList<PolylineSection> aRestoredSect = aPolyline->GetPolylineData();
int aRestSize = aRestoredSect.size();
CPPUNIT_ASSERT( aRestSize == 2 );