Lines Matching refs:nVerSeg
264 sal_uInt32 nHorSeg, sal_uInt32 nVerSeg, in createUnitSpherePolyPolygon() argument
279 if(!nVerSeg) in createUnitSpherePolyPolygon()
281 nVerSeg = fround(fabs(fVerStop - fVerStart) / (F_2PI / 24.0)); in createUnitSpherePolyPolygon()
285 nVerSeg = ::std::min(nMaxSegments, ::std::max(nMinSegments, nVerSeg)); in createUnitSpherePolyPolygon()
288 const double fVerDiffPerStep((fVerStop - fVerStart) / (double)nVerSeg); in createUnitSpherePolyPolygon()
296 const sal_uInt32 nLoopVerLimit(bVerToBottom ? nVerSeg : nVerSeg + 1L); in createUnitSpherePolyPolygon()
343 sal_uInt32 nHorSeg, sal_uInt32 nVerSeg, in createSpherePolyPolygonFromB3DRange() argument
347 …B3DPolyPolygon aRetval(createUnitSpherePolyPolygon(nHorSeg, nVerSeg, fVerStart, fVerStop, fHorStar… in createSpherePolyPolygonFromB3DRange()
363 sal_uInt32 nHorSeg, sal_uInt32 nVerSeg, in createUnitSphereFillPolyPolygon() argument
378 if(!nVerSeg) in createUnitSphereFillPolyPolygon()
380 nVerSeg = fround(fabs(fVerStop - fVerStart) / (F_2PI / 24.0)); in createUnitSphereFillPolyPolygon()
384 nVerSeg = ::std::min(nMaxSegments, ::std::max(nMinSegments, nVerSeg)); in createUnitSphereFillPolyPolygon()
387 for(sal_uInt32 a(0L); a < nVerSeg; a++) in createUnitSphereFillPolyPolygon()
389 const double fVer(fVerStart + (((fVerStop - fVerStart) * a) / nVerSeg)); in createUnitSphereFillPolyPolygon()
390 const double fVer2(fVerStart + (((fVerStop - fVerStart) * (a + 1)) / nVerSeg)); in createUnitSphereFillPolyPolygon()
421 sal_uInt32 nHorSeg, sal_uInt32 nVerSeg, in createSphereFillPolyPolygonFromB3DRange() argument
426 …B3DPolyPolygon aRetval(createUnitSphereFillPolyPolygon(nHorSeg, nVerSeg, bNormals, fVerStart, fVer… in createSphereFillPolyPolygonFromB3DRange()