Since 1.2Optionalproperties: Partial<{}>Since 1.2contains_Checks whether the given point is contained in the volume
of a Graphene.Sphere.
true if the sphere contains the point
Since 1.2distanceComputes the distance of the given point from the surface of
a Graphene.Sphere.
the distance of the point
Since 1.2equalChecks whether two Graphene.Sphere are equal.
true if the spheres are equal
Since 1.2freeSince 1.2get_Computes the bounding box capable of containing the given Graphene.Sphere.
Since 1.2get_Since 1.2get_Since 1.2initInitializes the given Graphene.Sphere with the given center and radius.
the coordinates of the center of the sphere, or null for a center in (0, 0, 0)
the radius of the sphere
the initialized Graphene.Sphere
Since 1.2init_Initializes the given Graphene.Sphere using the given array 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.
an array of Graphene.Point3D
the center of the sphere
the initialized Graphene.Sphere
Since 1.2init_Initializes the given Graphene.Sphere using the given array 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 vectors.
an array of Graphene.Vec3
the center of the sphere
the initialized Graphene.Sphere
Since 1.2is_Since 1.2translateTranslates the center of the given Graphene.Sphere using the point
coordinates as the delta of the translation.
the coordinates of the translation
Staticalloc
A sphere, represented by its center and radius.
Since
1.2