Macaulay2
»
Documentation
Packages
»
Graphics
::
sphere(Point3D,ZZ)
next
|
previous
|
forward
|
backward
| up |
index
|
toc
sphere(Point3D,ZZ) -- a sphere from a center and a radius
Synopsis
Function:
sphere
Usage:
sphere(p,r)
Inputs:
p
,
an instance of the type
Point3D
, the center of the sphere
r
,
an
integer
, the radius of the sphere
Outputs:
an instance of the type
Sphere
, the sphere with center
p
and radius
r
Description
i1 : sphere(point(20,30,100),10) o1 = Sphere{Point3D{20, 30, 100}, 10} o1 : Sphere
Ways to use this method:
sphere(Point3D,ZZ)
-- a sphere from a center and a radius