Lines Matching refs:nIndex

57 		sal_uInt32 getIndexOfPredecessor(sal_uInt32 nIndex, const B3DPolygon& rCandidate)  in getIndexOfPredecessor()  argument
59 …OSL_ENSURE(nIndex < rCandidate.count(), "getIndexOfPredecessor: Access to polygon out of range (!)… in getIndexOfPredecessor()
61 if(nIndex) in getIndexOfPredecessor()
63 return nIndex - 1L; in getIndexOfPredecessor()
71 return nIndex; in getIndexOfPredecessor()
75 sal_uInt32 getIndexOfSuccessor(sal_uInt32 nIndex, const B3DPolygon& rCandidate) in getIndexOfSuccessor() argument
77 …OSL_ENSURE(nIndex < rCandidate.count(), "getIndexOfPredecessor: Access to polygon out of range (!)… in getIndexOfSuccessor()
79 if(nIndex + 1L < rCandidate.count()) in getIndexOfSuccessor()
81 return nIndex + 1L; in getIndexOfSuccessor()
224 double getEdgeLength(const B3DPolygon& rCandidate, sal_uInt32 nIndex) in getEdgeLength() argument
226 OSL_ENSURE(nIndex < rCandidate.count(), "getEdgeLength: Access to polygon out of range (!)"); in getEdgeLength()
230 if(nIndex < nPointCount) in getEdgeLength()
232 if(rCandidate.isClosed() || ((nIndex + 1L) != nPointCount)) in getEdgeLength()
234 const sal_uInt32 nNextIndex(getIndexOfSuccessor(nIndex, rCandidate)); in getEdgeLength()
235 const B3DPoint aCurrentPoint(rCandidate.getB3DPoint(nIndex)); in getEdgeLength()
274 sal_uInt32 nIndex(0L); in getPositionAbsolute() local
315 nIndex = nPointCount - 1L; in getPositionAbsolute()
326 fEdgeLength = getEdgeLength(rCandidate, nIndex); in getPositionAbsolute()
332 nIndex++; in getPositionAbsolute()
343 aRetval = rCandidate.getB3DPoint(nIndex); in getPositionAbsolute()
349 sal_uInt32 nNextIndex(getIndexOfSuccessor(nIndex, rCandidate)); in getPositionAbsolute()