A C D F G I L M O P R S T U V X Y Z

S

sameSide(Vector2DDouble, Vector2DDouble, Vector2DDouble, Vector2DDouble) - Static method in class za.co.luma.geom.Vector2DDouble
Checks whether a and b lies on the same side of line p1-p2, or not.
sameSide(Vector3DDouble, Vector3DDouble, Vector3DDouble, Vector3DDouble) - Static method in class za.co.luma.geom.Vector3DDouble
Checks whether a and b lies on the same side of line p1-p2, or not.
sample() - Method in class za.co.luma.math.sampling.PoissonDiskMultiSampler
Generates an array of lists of points following the Poisson distribution.
sample() - Method in class za.co.luma.math.sampling.PoissonDiskSampler
Generates a list of points following the Poisson distribution.
sample() - Method in interface za.co.luma.math.sampling.Sampler
This method samples the structure, and returns a list of results.
sample() - Method in class za.co.luma.math.sampling.UniformPoissonDiskSampler
Generates a list of points following the Poisson distribution.
sample() - Method in class za.co.luma.math.sampling.UniformRandomSampler
 
samplePoisson() - Static method in class PoissonDiskDemo
Makes a new image with a uniform Poisson disk sample.
samplePoissonFalloff() - Static method in class PoissonDiskDemo
Makes an image with a Poisson disk samples, with radius falling off away from the centre of the image.
samplePoissonPerlin() - Static method in class PoissonDiskDemo
Makes an image that is a Poisson Disk sample, with minimum distance driven by Perlin noise.
Sampler<T> - Interface in za.co.luma.math.sampling
Used to sample a collection (or image).
saveImage(BufferedImage, File) - Static method in class PoissonDiskDemo
 
scalarCross(Vector2DDouble, Vector2DDouble) - Static method in class za.co.luma.geom.Vector2DDouble
Returns the z-coordinate of the cross product of two points (embedded in 3D space).
scalarCross(Vector3DDouble, Vector3DDouble) - Static method in class za.co.luma.geom.Vector3DDouble
Returns the z-coordinate of the cross product of two points projected on the plane z = 0, (embedded in 3D space).
scale(double) - Method in class za.co.luma.geom.Vector2DDouble
 
scale(Vector2DDouble, double) - Static method in class za.co.luma.geom.Vector2DDouble
 
scale(double) - Method in class za.co.luma.geom.Vector3DDouble
Scale this vector by a given factor.
scale(Vector3DDouble, double) - Static method in class za.co.luma.geom.Vector3DDouble
Returns a new vector, in the same direction as p, but sacled by a factor r.
Segment - Class in za.co.luma.geom
This class represents a finite line segment, that is, the segment between two points.
Segment(Vector2DDouble, Vector2DDouble) - Constructor for class za.co.luma.geom.Segment
Construct a new segment from two given points.
SegmentSet - Class in za.co.luma.geom
A SegmentSet is an iterable collection of Segments.
SegmentSet() - Constructor for class za.co.luma.geom.SegmentSet
Creates a new empty SegmentSet.
setAngle(double) - Method in class za.co.luma.geom.Vector2DDouble
 
setEnd(Vector2DDouble) - Method in class za.co.luma.geom.Segment
Sets the end point of this segment.
setLocation(double, double) - Method in class za.co.luma.geom.Vector2DDouble
 
setLocation(double, double, double) - Method in class za.co.luma.geom.Vector3DDouble
Sets the new coordinates for this vector.
setSize(double) - Method in class za.co.luma.geom.Vector2DDouble
 
setStart(Vector2DDouble) - Method in class za.co.luma.geom.Segment
Sets the start point for this segment.
sigmoid(double, double, double, double, double) - Static method in class za.co.iocom.math.MathUtil
This function is a smooth approximation for lerp.
size() - Method in class za.co.luma.geom.Vector2DDouble
 
size(Vector2DDouble) - Static method in class za.co.luma.geom.Vector2DDouble
 
size() - Method in class za.co.luma.geom.Vector3DDouble
Returns the size (Euclidean length) of this vector.
size(Vector3DDouble) - Static method in class za.co.luma.geom.Vector3DDouble
Returns the Euclidean length of this vector.
SmoothNoise2D - Class in za.co.luma.math.function
Represents smooth noise, that is noise sampled from uniform noise, and linearly interpolated.
SmoothNoise2D(int, int) - Constructor for class za.co.luma.math.function.SmoothNoise2D
Constructs a new SmoothNoise object.
sqr(int) - Static method in class za.co.iocom.math.MathUtil
Returns the square of the given number.
sqr(double) - Static method in class za.co.iocom.math.MathUtil
Returns the square of the given number.
sqr(float) - Static method in class za.co.iocom.math.MathUtil
Returns the square of the given number.
sqr(long) - Static method in class za.co.iocom.math.MathUtil
Returns the square of the given number.
sqr(short) - Static method in class za.co.iocom.math.MathUtil
Returns the square of the given number.
sqr(byte) - Static method in class za.co.iocom.math.MathUtil
Returns the square of the given number.
subtract(Vector2DDouble, Vector2DDouble) - Static method in class za.co.luma.geom.Vector2DDouble
 
subtract(Vector3DDouble, Vector3DDouble) - Static method in class za.co.luma.geom.Vector3DDouble
Subtracts p2 from p1 and returns the result as a new vector.

A C D F G I L M O P R S T U V X Y Z