Sphere class
Constructors
- Sphere()
- Create a new, uninitialized sphere.
- Sphere.centerRadius(Vector3 center, double radius)
-
Create a sphere from a
center
and aradius
. - Sphere.copy(Sphere other)
-
Create a sphere as a copy of
other
.
Properties
Methods
-
containsVector3(
Vector3 other) → bool -
Return if this contains
other
. -
copyFrom(
Sphere other) → void -
Copy the sphere from
other
into this. -
intersectsWithSphere(
Sphere other) → bool -
Return if this intersects with
other
. -
intersectsWithVector3(
Vector3 other) → bool -
Return if this intersects with
other
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited