Package: graphene

Function graphene:sphere-init-from-points

Lambda List

graphene:sphere-init-from-points (sphere points center)

Arguments

sphere -- a graphene:sphere-t instance to initialize
points -- a list of graphene:point3d-t instances
center -- a graphne:point3d-t instance with the center of the sphere, or nil

Return Value

The initialized graphene:sphere-t instance.

Details

Initializes the given sphere using the given list of 3D coordinates so that the sphere includes them. The center of the sphere can either be specified, or will be center of the 3D volume that encompasses all points.
 

See also

2024-12-29