We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45eef91 commit 752f30dCopy full SHA for 752f30d
src/primitives/ConicalFrustum.jl
@@ -140,7 +140,7 @@ topArea(x::ConicalFrustum) = pi * topRadius(x) ^ 2
140
"""
141
Computes the slant length of a conical frustum.
142
143
-slantLength(x::ConicalFrustum) = sqrt( ( baseArea(x) - topArea(x) ) ^ 2 + length(x) ^ 2 )
+slantLength(x::ConicalFrustum) = sqrt( ( baseRadius(x) - topRadius(x) ) ^ 2 + length(x) ^ 2 )
144
145
146
Computes the surface area of a frustum not including the top and bottom areas.
0 commit comments