Lines Matching refs:nPointCount
227 const sal_uInt32 nPointCount(aCandidate.count()); in create3DDecomposition() local
229 if(nPointCount > 2) in create3DDecomposition()
231 sal_uInt32 nIndexA(nPointCount); in create3DDecomposition()
232 sal_uInt32 nIndexB(nPointCount); in create3DDecomposition()
233 sal_uInt32 nIndexC(nPointCount); in create3DDecomposition()
235 for(sal_uInt32 d(0); d < nPointCount; d++) in create3DDecomposition()
237 const sal_uInt32 nPrevInd((d + nPointCount - 1) % nPointCount); in create3DDecomposition()
238 const sal_uInt32 nNextInd((d + 1) % nPointCount); in create3DDecomposition()
249 if(nPointCount == nIndexA) in create3DDecomposition()
253 else if(nPointCount == nIndexB) in create3DDecomposition()
257 else if(nPointCount == nIndexC) in create3DDecomposition()
260 d = nPointCount; in create3DDecomposition()
265 const bool bIndexAUsed(nIndexA != nPointCount); in create3DDecomposition()
266 const bool bIndexBUsed(nIndexB != nPointCount); in create3DDecomposition()
267 bool bIndexCUsed(nIndexC != nPointCount); in create3DDecomposition()
278 if(((nIndexA + 2) % nPointCount) == nIndexB) in create3DDecomposition()
280 nIndexC = (nIndexA + 1) % nPointCount; in create3DDecomposition()
282 else if(((nIndexA + nPointCount - 2) % nPointCount) == nIndexB) in create3DDecomposition()
284 nIndexC = (nIndexA + nPointCount - 1) % nPointCount; in create3DDecomposition()
287 bIndexCUsed = (nIndexC != nPointCount); in create3DDecomposition()