Lines Matching refs:nIndex
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()
181 const basegfx::B3DPoint& getCoordinate(sal_uInt32 nIndex) const in getCoordinate()
183 return maVector[nIndex].getCoordinate(); in getCoordinate()
186 void setCoordinate(sal_uInt32 nIndex, const basegfx::B3DPoint& rValue) in setCoordinate() argument
188 maVector[nIndex].setCoordinate(rValue); in setCoordinate()
191 void insert(sal_uInt32 nIndex, const CoordinateData3D& rValue, sal_uInt32 nCount) in insert() argument
197 aIndex += nIndex; in insert()
202 void insert(sal_uInt32 nIndex, const CoordinateDataArray3D& rSource) in insert() argument
210 aIndex += nIndex; in insert()
217 void remove(sal_uInt32 nIndex, sal_uInt32 nCount) in remove() argument
223 aStart += nIndex; in remove()
280 BColorArray(const BColorArray& rOriginal, sal_uInt32 nIndex, sal_uInt32 nCount) in BColorArray() argument
285 aStart += nIndex; in BColorArray()
318 const ::basegfx::BColor& getBColor(sal_uInt32 nIndex) const in getBColor()
320 return maVector[nIndex]; in getBColor()
323 void setBColor(sal_uInt32 nIndex, const ::basegfx::BColor& rValue) in setBColor() argument
325 bool bWasUsed(mnUsedEntries && !maVector[nIndex].equalZero()); in setBColor()
332 maVector[nIndex] = rValue; in setBColor()
336 maVector[nIndex] = ::basegfx::BColor::getEmptyBColor(); in setBColor()
344 maVector[nIndex] = rValue; in setBColor()
350 void insert(sal_uInt32 nIndex, const ::basegfx::BColor& rValue, sal_uInt32 nCount) in insert() argument
356 aIndex += nIndex; in insert()
364 void insert(sal_uInt32 nIndex, const BColorArray& rSource) in insert() argument
372 aIndex += nIndex; in insert()
385 void remove(sal_uInt32 nIndex, sal_uInt32 nCount) in remove() argument
389 const BColorDataVector::iterator aDeleteStart(maVector.begin() + nIndex); in remove()
444 NormalsArray3D(const NormalsArray3D& rOriginal, sal_uInt32 nIndex, sal_uInt32 nCount) in NormalsArray3D() argument
449 aStart += nIndex; in NormalsArray3D()
482 const ::basegfx::B3DVector& getNormal(sal_uInt32 nIndex) const in getNormal()
484 return maVector[nIndex]; in getNormal()
487 void setNormal(sal_uInt32 nIndex, const ::basegfx::B3DVector& rValue) in setNormal() argument
489 bool bWasUsed(mnUsedEntries && !maVector[nIndex].equalZero()); in setNormal()
496 maVector[nIndex] = rValue; in setNormal()
500 maVector[nIndex] = ::basegfx::B3DVector::getEmptyVector(); in setNormal()
508 maVector[nIndex] = rValue; in setNormal()
514 void insert(sal_uInt32 nIndex, const ::basegfx::B3DVector& rValue, sal_uInt32 nCount) in insert() argument
520 aIndex += nIndex; in insert()
528 void insert(sal_uInt32 nIndex, const NormalsArray3D& rSource) in insert() argument
536 aIndex += nIndex; in insert()
549 void remove(sal_uInt32 nIndex, sal_uInt32 nCount) in remove() argument
553 const NormalsData3DVector::iterator aDeleteStart(maVector.begin() + nIndex); in remove()
619 TextureCoordinate2D(const TextureCoordinate2D& rOriginal, sal_uInt32 nIndex, sal_uInt32 nCount) in TextureCoordinate2D() argument
624 aStart += nIndex; in TextureCoordinate2D()
657 const ::basegfx::B2DPoint& getTextureCoordinate(sal_uInt32 nIndex) const in getTextureCoordinate()
659 return maVector[nIndex]; in getTextureCoordinate()
662 void setTextureCoordinate(sal_uInt32 nIndex, const ::basegfx::B2DPoint& rValue) in setTextureCoordinate() argument
664 bool bWasUsed(mnUsedEntries && !maVector[nIndex].equalZero()); in setTextureCoordinate()
671 maVector[nIndex] = rValue; in setTextureCoordinate()
675 maVector[nIndex] = ::basegfx::B2DPoint::getEmptyPoint(); in setTextureCoordinate()
683 maVector[nIndex] = rValue; in setTextureCoordinate()
689 void insert(sal_uInt32 nIndex, const ::basegfx::B2DPoint& rValue, sal_uInt32 nCount) in insert() argument
695 aIndex += nIndex; in insert()
703 void insert(sal_uInt32 nIndex, const TextureCoordinate2D& rSource) in insert() argument
711 aIndex += nIndex; in insert()
724 void remove(sal_uInt32 nIndex, sal_uInt32 nCount) in remove() argument
728 const TextureData2DVector::iterator aDeleteStart(maVector.begin() + nIndex); 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()
1041 const ::basegfx::B3DPoint& getPoint(sal_uInt32 nIndex) const in getPoint()
1043 return maPoints.getCoordinate(nIndex); in getPoint()
1046 void setPoint(sal_uInt32 nIndex, const ::basegfx::B3DPoint& rValue) in setPoint() argument
1048 maPoints.setCoordinate(nIndex, rValue); in setPoint()
1052 void insert(sal_uInt32 nIndex, const ::basegfx::B3DPoint& rPoint, sal_uInt32 nCount) in insert() argument
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()
1077 const ::basegfx::BColor& getBColor(sal_uInt32 nIndex) const in getBColor()
1081 return mpBColors->getBColor(nIndex); in getBColor()
1089 void setBColor(sal_uInt32 nIndex, const ::basegfx::BColor& rValue) in setBColor() argument
1096 mpBColors->setBColor(nIndex, rValue); in setBColor()
1101 mpBColors->setBColor(nIndex, rValue); in setBColor()
1136 const ::basegfx::B3DVector& getNormal(sal_uInt32 nIndex) const in getNormal()
1140 return mpNormals->getNormal(nIndex); in getNormal()
1148 void setNormal(sal_uInt32 nIndex, const ::basegfx::B3DVector& rValue) in setNormal() argument
1155 mpNormals->setNormal(nIndex, rValue); in setNormal()
1160 mpNormals->setNormal(nIndex, rValue); in setNormal()
1192 const ::basegfx::B2DPoint& getTextureCoordinate(sal_uInt32 nIndex) const in getTextureCoordinate()
1196 return mpTextureCoordiantes->getTextureCoordinate(nIndex); in getTextureCoordinate()
1204 void setTextureCoordinate(sal_uInt32 nIndex, const ::basegfx::B2DPoint& rValue) in setTextureCoordinate() argument
1211 mpTextureCoordiantes->setTextureCoordinate(nIndex, rValue); in setTextureCoordinate()
1216 mpTextureCoordiantes->setTextureCoordinate(nIndex, rValue); in setTextureCoordinate()
1248 void insert(sal_uInt32 nIndex, const ImplB3DPolygon& rSource) in insert() argument
1254 maPoints.insert(nIndex, rSource.maPoints); in insert()
1264 mpBColors->insert(nIndex, *rSource.mpBColors); in insert()
1270 mpBColors->insert(nIndex, ::basegfx::BColor::getEmptyBColor(), nCount); in insert()
1281 mpNormals->insert(nIndex, *rSource.mpNormals); in insert()
1287 mpNormals->insert(nIndex, ::basegfx::B3DVector::getEmptyVector(), nCount); in insert()
1298 mpTextureCoordiantes->insert(nIndex, *rSource.mpTextureCoordiantes); in insert()
1304 mpTextureCoordiantes->insert(nIndex, ::basegfx::B2DPoint::getEmptyPoint(), nCount); in insert()
1310 void remove(sal_uInt32 nIndex, sal_uInt32 nCount) in remove() argument
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()
1386 const sal_uInt32 nIndex(maPoints.count() - 1L); in hasDoublePoints() local
1388 if(maPoints.getCoordinate(0L) == maPoints.getCoordinate(nIndex)) in hasDoublePoints()
1390 … const bool bBColorEqual(!mpBColors || (mpBColors->getBColor(0L) == mpBColors->getBColor(nIndex))); in hasDoublePoints()
1394 …const bool bNormalsEqual(!mpNormals || (mpNormals->getNormal(0L) == mpNormals->getNormal(nIndex))); in hasDoublePoints()
1398 …xtureCoordiantes->getTextureCoordinate(0L) == mpTextureCoordiantes->getTextureCoordinate(nIndex))); in hasDoublePoints()
1449 const sal_uInt32 nIndex(maPoints.count() - 1L); in removeDoublePointsAtBeginEnd() local
1450 bRemove = (maPoints.getCoordinate(0L) == maPoints.getCoordinate(nIndex)); in removeDoublePointsAtBeginEnd()
1452 if(bRemove && mpBColors && !(mpBColors->getBColor(0L) == mpBColors->getBColor(nIndex))) in removeDoublePointsAtBeginEnd()
1457 if(bRemove && mpNormals && !(mpNormals->getNormal(0L) == mpNormals->getNormal(nIndex))) in removeDoublePointsAtBeginEnd()
1462 …extureCoordiantes->getTextureCoordinate(0L) == mpTextureCoordiantes->getTextureCoordinate(nIndex))) in removeDoublePointsAtBeginEnd()
1470 const sal_uInt32 nIndex(maPoints.count() - 1L); in removeDoublePointsAtBeginEnd() local
1471 remove(nIndex, 1L); in removeDoublePointsAtBeginEnd()
1479 sal_uInt32 nIndex(0L); in removeDoublePointsWholeTrack() local
1483 while((maPoints.count() > 1L) && (nIndex <= maPoints.count() - 2L)) in removeDoublePointsWholeTrack()
1485 const sal_uInt32 nNextIndex(nIndex + 1L); in removeDoublePointsWholeTrack()
1486 bool bRemove(maPoints.getCoordinate(nIndex) == maPoints.getCoordinate(nNextIndex)); in removeDoublePointsWholeTrack()
1488 if(bRemove && mpBColors && !(mpBColors->getBColor(nIndex) == mpBColors->getBColor(nNextIndex))) in removeDoublePointsWholeTrack()
1493 if(bRemove && mpNormals && !(mpNormals->getNormal(nIndex) == mpNormals->getNormal(nNextIndex))) in removeDoublePointsWholeTrack()
1498 …if(bRemove && mpTextureCoordiantes && !(mpTextureCoordiantes->getTextureCoordinate(nIndex) == mpTe… in removeDoublePointsWholeTrack()
1506 remove(nIndex, 1L); in removeDoublePointsWholeTrack()
1511 nIndex++; in removeDoublePointsWholeTrack()
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()
1588 basegfx::B3DPoint B3DPolygon::getB3DPoint(sal_uInt32 nIndex) const in getB3DPoint()
1590 OSL_ENSURE(nIndex < mpPolygon->count(), "B3DPolygon access outside range (!)"); in getB3DPoint()
1592 return mpPolygon->getPoint(nIndex); in getB3DPoint()
1595 void B3DPolygon::setB3DPoint(sal_uInt32 nIndex, const basegfx::B3DPoint& rValue) in setB3DPoint() argument
1597 OSL_ENSURE(nIndex < mpPolygon->count(), "B3DPolygon access outside range (!)"); in setB3DPoint()
1599 if(getB3DPoint(nIndex) != rValue) in setB3DPoint()
1600 mpPolygon->setPoint(nIndex, rValue); in setB3DPoint()
1603 BColor B3DPolygon::getBColor(sal_uInt32 nIndex) const in getBColor()
1605 OSL_ENSURE(nIndex < mpPolygon->count(), "B3DPolygon access outside range (!)"); in getBColor()
1607 return mpPolygon->getBColor(nIndex); in getBColor()
1610 void B3DPolygon::setBColor(sal_uInt32 nIndex, const BColor& rValue) in setBColor() argument
1612 OSL_ENSURE(nIndex < mpPolygon->count(), "B3DPolygon access outside range (!)"); in setBColor()
1614 if(mpPolygon->getBColor(nIndex) != rValue) in setBColor()
1615 mpPolygon->setBColor(nIndex, rValue); in setBColor()
1634 B3DVector B3DPolygon::getNormal(sal_uInt32 nIndex) const in getNormal()
1636 OSL_ENSURE(nIndex < mpPolygon->count(), "B3DPolygon access outside range (!)"); in getNormal()
1638 return mpPolygon->getNormal(nIndex); in getNormal()
1641 void B3DPolygon::setNormal(sal_uInt32 nIndex, const B3DVector& rValue) in setNormal() argument
1643 OSL_ENSURE(nIndex < mpPolygon->count(), "B3DPolygon access outside range (!)"); in setNormal()
1645 if(mpPolygon->getNormal(nIndex) != rValue) in setNormal()
1646 mpPolygon->setNormal(nIndex, rValue); in setNormal()
1666 B2DPoint B3DPolygon::getTextureCoordinate(sal_uInt32 nIndex) const in getTextureCoordinate()
1668 OSL_ENSURE(nIndex < mpPolygon->count(), "B3DPolygon access outside range (!)"); in getTextureCoordinate()
1670 return mpPolygon->getTextureCoordinate(nIndex); in getTextureCoordinate()
1673 void B3DPolygon::setTextureCoordinate(sal_uInt32 nIndex, const B2DPoint& rValue) in setTextureCoordinate() argument
1675 OSL_ENSURE(nIndex < mpPolygon->count(), "B3DPolygon access outside range (!)"); in setTextureCoordinate()
1677 if(mpPolygon->getTextureCoordinate(nIndex) != rValue) in setTextureCoordinate()
1678 mpPolygon->setTextureCoordinate(nIndex, rValue); in setTextureCoordinate()
1698 void B3DPolygon::insert(sal_uInt32 nIndex, const ::basegfx::B3DPoint& rPoint, sal_uInt32 nCount) in insert() argument
1700 OSL_ENSURE(nIndex <= mpPolygon->count(), "B3DPolygon Insert outside range (!)"); in insert()
1703 mpPolygon->insert(nIndex, rPoint, nCount); in insert()
1712 …void B3DPolygon::insert(sal_uInt32 nIndex, const B3DPolygon& rPoly, sal_uInt32 nIndex2, sal_uInt32… in insert() argument
1714 OSL_ENSURE(nIndex <= mpPolygon->count(), "B3DPolygon Insert outside range (!)"); in insert()
1725 mpPolygon->insert(nIndex, *rPoly.mpPolygon); in insert()
1731 mpPolygon->insert(nIndex, aTempPoly); in insert()
1736 void B3DPolygon::append(const B3DPolygon& rPoly, sal_uInt32 nIndex, sal_uInt32 nCount) in append() argument
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()
1763 mpPolygon->remove(nIndex, nCount); in remove()