Lines Matching refs:nCount
85 explicit CoordinateDataArray3D(sal_uInt32 nCount) in CoordinateDataArray3D() argument
86 : maVector(nCount) in CoordinateDataArray3D()
95 CoordinateDataArray3D(const CoordinateDataArray3D& rOriginal, sal_uInt32 nIndex, sal_uInt32 nCount) in CoordinateDataArray3D() argument
96 : maVector(rOriginal.maVector.begin() + nIndex, rOriginal.maVector.begin() + (nIndex + nCount)) in CoordinateDataArray3D()
191 void insert(sal_uInt32 nIndex, const CoordinateData3D& rValue, sal_uInt32 nCount) in insert() argument
193 if(nCount) in insert()
198 maVector.insert(aIndex, nCount, rValue); in insert()
204 const sal_uInt32 nCount(rSource.maVector.size()); in insert() local
206 if(nCount) in insert()
217 void remove(sal_uInt32 nIndex, sal_uInt32 nCount) in remove() argument
219 if(nCount) in remove()
224 const CoordinateData3DVector::iterator aEnd(aStart + nCount); in remove()
268 explicit BColorArray(sal_uInt32 nCount) in BColorArray() argument
269 : maVector(nCount), in BColorArray()
280 BColorArray(const BColorArray& rOriginal, sal_uInt32 nIndex, sal_uInt32 nCount) in BColorArray() argument
287 aEnd += nCount; in BColorArray()
288 maVector.reserve(nCount); in BColorArray()
350 void insert(sal_uInt32 nIndex, const ::basegfx::BColor& rValue, sal_uInt32 nCount) in insert() argument
352 if(nCount) in insert()
357 maVector.insert(aIndex, nCount, rValue); in insert()
360 mnUsedEntries += nCount; in insert()
366 const sal_uInt32 nCount(rSource.maVector.size()); in insert() local
368 if(nCount) in insert()
385 void remove(sal_uInt32 nIndex, sal_uInt32 nCount) in remove() argument
387 if(nCount) in remove()
390 const BColorDataVector::iterator aDeleteEnd(aDeleteStart + nCount); in remove()
432 explicit NormalsArray3D(sal_uInt32 nCount) in NormalsArray3D() argument
433 : maVector(nCount), in NormalsArray3D()
444 NormalsArray3D(const NormalsArray3D& rOriginal, sal_uInt32 nIndex, sal_uInt32 nCount) in NormalsArray3D() argument
451 aEnd += nCount; in NormalsArray3D()
452 maVector.reserve(nCount); in NormalsArray3D()
514 void insert(sal_uInt32 nIndex, const ::basegfx::B3DVector& rValue, sal_uInt32 nCount) in insert() argument
516 if(nCount) in insert()
521 maVector.insert(aIndex, nCount, rValue); in insert()
524 mnUsedEntries += nCount; in insert()
530 const sal_uInt32 nCount(rSource.maVector.size()); in insert() local
532 if(nCount) in insert()
549 void remove(sal_uInt32 nIndex, sal_uInt32 nCount) in remove() argument
551 if(nCount) in remove()
554 const NormalsData3DVector::iterator aDeleteEnd(aDeleteStart + nCount); in remove()
607 explicit TextureCoordinate2D(sal_uInt32 nCount) in TextureCoordinate2D() argument
608 : maVector(nCount), in TextureCoordinate2D()
619 TextureCoordinate2D(const TextureCoordinate2D& rOriginal, sal_uInt32 nIndex, sal_uInt32 nCount) in TextureCoordinate2D() argument
626 aEnd += nCount; in TextureCoordinate2D()
627 maVector.reserve(nCount); in TextureCoordinate2D()
689 void insert(sal_uInt32 nIndex, const ::basegfx::B2DPoint& rValue, sal_uInt32 nCount) in insert() argument
691 if(nCount) in insert()
696 maVector.insert(aIndex, nCount, rValue); in insert()
699 mnUsedEntries += nCount; in insert()
705 const sal_uInt32 nCount(rSource.maVector.size()); in insert() local
707 if(nCount) in insert()
724 void remove(sal_uInt32 nIndex, sal_uInt32 nCount) in remove() argument
726 if(nCount) in remove()
729 const TextureData2DVector::iterator aDeleteEnd(aDeleteStart + nCount); in remove()
852 ImplB3DPolygon(const ImplB3DPolygon& rToBeCopied, sal_uInt32 nIndex, sal_uInt32 nCount) in ImplB3DPolygon() argument
853 : maPoints(rToBeCopied.maPoints, nIndex, nCount), in ImplB3DPolygon()
864 mpBColors = new BColorArray(*rToBeCopied.mpBColors, nIndex, nCount); in ImplB3DPolygon()
875 mpNormals = new NormalsArray3D(*rToBeCopied.mpNormals, nIndex, nCount); in ImplB3DPolygon()
886 … mpTextureCoordiantes = new TextureCoordinate2D(*rToBeCopied.mpTextureCoordiantes, nIndex, nCount); in ImplB3DPolygon()
1052 void insert(sal_uInt32 nIndex, const ::basegfx::B3DPoint& rPoint, sal_uInt32 nCount) in insert() argument
1054 if(nCount) in insert()
1057 maPoints.insert(nIndex, aCoordinate, nCount); in insert()
1062 mpBColors->insert(nIndex, ::basegfx::BColor::getEmptyBColor(), nCount); in insert()
1067 mpNormals->insert(nIndex, ::basegfx::B3DVector::getEmptyVector(), nCount); in insert()
1072 mpTextureCoordiantes->insert(nIndex, ::basegfx::B2DPoint::getEmptyPoint(), nCount); in insert()
1250 const sal_uInt32 nCount(rSource.maPoints.count()); in insert() local
1252 if(nCount) in insert()
1270 mpBColors->insert(nIndex, ::basegfx::BColor::getEmptyBColor(), nCount); in insert()
1287 mpNormals->insert(nIndex, ::basegfx::B3DVector::getEmptyVector(), nCount); in insert()
1304 mpTextureCoordiantes->insert(nIndex, ::basegfx::B2DPoint::getEmptyPoint(), nCount); in insert()
1310 void remove(sal_uInt32 nIndex, sal_uInt32 nCount) in remove() argument
1312 if(nCount) in remove()
1314 maPoints.remove(nIndex, nCount); in remove()
1319 mpBColors->remove(nIndex, nCount); in remove()
1330 mpNormals->remove(nIndex, nCount); in remove()
1341 mpTextureCoordiantes->remove(nIndex, nCount); in remove()
1547 B3DPolygon::B3DPolygon(const B3DPolygon& rPolygon, sal_uInt32 nIndex, sal_uInt32 nCount) : in B3DPolygon() argument
1548 mpPolygon(ImplB3DPolygon(*rPolygon.mpPolygon, nIndex, nCount)) in B3DPolygon()
1552 …OSL_ENSURE(nIndex + nCount > rPolygon.mpPolygon->count(), "B3DPolygon constructor outside range (!… in B3DPolygon()
1698 void B3DPolygon::insert(sal_uInt32 nIndex, const ::basegfx::B3DPoint& rPoint, sal_uInt32 nCount) in insert() argument
1702 if(nCount) in insert()
1703 mpPolygon->insert(nIndex, rPoint, nCount); in insert()
1706 void B3DPolygon::append(const basegfx::B3DPoint& rPoint, sal_uInt32 nCount) in append() argument
1708 if(nCount) in append()
1709 mpPolygon->insert(mpPolygon->count(), rPoint, nCount); in append()
1712 …DPolygon::insert(sal_uInt32 nIndex, const B3DPolygon& rPoly, sal_uInt32 nIndex2, sal_uInt32 nCount) in insert() argument
1718 if(!nCount) in insert()
1720 nCount = rPoly.count(); in insert()
1723 if(0L == nIndex2 && nCount == rPoly.count()) in insert()
1729 OSL_ENSURE(nIndex2 + nCount <= rPoly.mpPolygon->count(), "B3DPolygon Insert outside range (!)"); in insert()
1730 ImplB3DPolygon aTempPoly(*rPoly.mpPolygon, nIndex2, nCount); in insert()
1736 void B3DPolygon::append(const B3DPolygon& rPoly, sal_uInt32 nIndex, sal_uInt32 nCount) in append() argument
1740 if(!nCount) in append()
1742 nCount = rPoly.count(); in append()
1745 if(0L == nIndex && nCount == rPoly.count()) in append()
1751 OSL_ENSURE(nIndex + nCount <= rPoly.mpPolygon->count(), "B3DPolygon Append outside range (!)"); in append()
1752 ImplB3DPolygon aTempPoly(*rPoly.mpPolygon, nIndex, nCount); in append()
1758 void B3DPolygon::remove(sal_uInt32 nIndex, sal_uInt32 nCount) in remove() argument
1760 OSL_ENSURE(nIndex + nCount <= mpPolygon->count(), "B3DPolygon Remove outside range (!)"); in remove()
1762 if(nCount) in remove()
1763 mpPolygon->remove(nIndex, nCount); in remove()