56 double fPolygonMaxLength(0.0);
58 for(
auto const& rCandidate : aPolyPolygon)
61 fPolygonMaxLength = std::max(fPolygonMaxLength, fPolygonLength);
70 const sal_uInt32 nHorizontalSegments(
GetE3dLatheObj().GetHorizontalSegments());
71 const sal_uInt32 nVerticalSegments(
GetE3dLatheObj().GetVerticalSegments());
72 const double fDiagonal(
static_cast<double>(
GetE3dLatheObj().GetPercentDiagonal()) / 100.0);
73 const double fBackScale(
static_cast<double>(
GetE3dLatheObj().GetBackScale()) / 100.0);
74 const double fRotation(basegfx::deg2rad<10>(
GetE3dLatheObj().GetEndAngle()));
85 aWorldTransform, aTextureSize, aAttribute, aSdr3DObjectAttribute,
86 std::move(aPolyPolygon), nHorizontalSegments, nVerticalSegments,
87 fDiagonal, fBackScale, fRotation,
88 bSmoothNormals, bSmoothLids, bCharacterMode, bCloseFront, bCloseBack));
89 xRetval = { xReference };
const SfxItemSet & GetMergedItemSet() const
B2DPoint getCenter() const
double getLength(const B2DPolygon &rCandidate)
B2DRange getRange(const B2DPolygon &rCandidate)
attribute::SdrLineFillShadowAttribute3D createNewSdrLineFillShadowAttribute(const SfxItemSet &rSet, bool bSuppressFill)
attribute::Sdr3DObjectAttribute createNewSdr3DObjectAttribute(const SfxItemSet &rSet)
css::uno::Reference< css::graphic::XPrimitive3D > Primitive3DReference