FooCAD
Toggle table of contents
3.0
jvm
Platform filter
jvm
Switch theme
Search in API
FooCAD
foocad-core
/
uk.co.nickthecoder.foocad.core.primitives
/
Sphere
/
Companion
Companion
object
Companion
Members
Functions
spheroid
Link copied to clipboard
@
JvmStatic
fun
spheroid
(
radii
:
Vector3
)
:
Shape3d
@
JvmStatic
fun
spheroid
(
rx
:
Double
,
ry
:
Double
,
rz
:
Double
)
:
Shape3d
@
JvmStatic
fun
spheroid
(
radii
:
Vector3
,
sides
:
Int
)
:
Shape3d
Returns a Shape3d, not a Sphere. The result is a Sphere of radius 1 that has been scaled by
radii
.