Macaulay2
»
Documentation
Packages
»
Graphics
::
sphere(Point3D,RR)
next
|
previous
|
forward
|
backward
| up |
index
|
toc
sphere(Point3D,RR) -- 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
,
a
real number
, 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.1, 30.,100.),30.) o1 = Sphere{Point3D{20, 30, 100}, 30} o1 : Sphere
Ways to use this method:
sphere(Point3D,RR)
-- a sphere from a center and a radius