Sphere

public class Sphere extends Shape

Inheritors

Constructors

Link copied to clipboard
public void Sphere(double radius, Location centerLocation, double borderRadius)

Properties

Link copied to clipboard
protected double borderRadius
Link copied to clipboard
protected Location centerLocation
Link copied to clipboard
protected List<Vector> edgeVectors
Link copied to clipboard
protected List<Vector> locationVectors
Link copied to clipboard
protected double radius

Functions

Link copied to clipboard
public boolean borderContains(Location position)
public boolean borderContains(LivingEntity livingEntity)
Link copied to clipboard
public boolean contains(Location position)
public boolean contains(LivingEntity livingEntity)
Link copied to clipboard
public Location getCenter()
Link copied to clipboard
public List<Location> getEdgeLocations()
Link copied to clipboard
public List<Location> getLocations()
Link copied to clipboard
protected List<Vector> getLocationVectors()
Link copied to clipboard
public void visualize(Particle particle)