A B C D E F G H I J L M N O P Q R S T U V W X Y Z

S

saveAsOBJ(OBJWriter) - Method in class toxi.geom.mesh.TriangleMesh
Saves the mesh as OBJ format by appending it to the given mesh OBJWriter instance.
saveAsOBJ(String) - Method in class toxi.geom.mesh.TriangleMesh
Saves the mesh as OBJ format to the given file path.
saveAsRaw(String) - Method in class toxi.geom.mesh.TriangleMesh
Saves the mesh in a simple, proprietary compact binary format written using the standard DataOutputStream methods.
saveAsSTL(String) - Method in class toxi.geom.mesh.TriangleMesh
Saves the mesh as binary STL format to the given file path.
saveAsSTL(String, boolean) - Method in class toxi.geom.mesh.TriangleMesh
Saves the mesh as binary STL format to the given file path.
saveAsSTL(String, STLWriter, boolean) - Method in class toxi.geom.mesh.TriangleMesh
 
SC_INV_PREC - Static variable in class toxi.math.SinCosLUT
calculate reciprocal for conversions
SC_PERIOD - Static variable in class toxi.math.SinCosLUT
compute required table length
SC_PRECISION - Static variable in class toxi.math.SinCosLUT
set table precision to 0.25 degrees
scale(double) - Method in class toxi.geom.Matrix4x4
 
scale(double, double, double) - Method in class toxi.geom.Matrix4x4
 
scale(float) - Method in class toxi.geom.Quaternion
 
scale(float) - Method in class toxi.geom.Vec2D
Scales vector uniformly and returns result as new vector.
scale(float, float) - Method in class toxi.geom.Vec2D
Scales vector non-uniformly and returns result as new vector.
scale(Vec2D) - Method in class toxi.geom.Vec2D
Scales vector non-uniformly by vector v and returns result as new vector
scale(float) - Method in class toxi.geom.Vec3D
Scales vector uniformly and returns result as new vector.
scale(float, float, float) - Method in class toxi.geom.Vec3D
Scales vector non-uniformly and returns result as new vector.
scale(Vec3D) - Method in class toxi.geom.Vec3D
Scales vector non-uniformly by vector v and returns result as new vector.
ScaleMap - Class in toxi.math
This class maps values from one interval into another.
ScaleMap(double, double, double, double) - Constructor for class toxi.math.ScaleMap
Creates a new instance to map values between the 2 number ranges specified.
scaleSelf(double) - Method in class toxi.geom.Matrix4x4
 
scaleSelf(double, double, double) - Method in class toxi.geom.Matrix4x4
 
scaleSelf(float) - Method in class toxi.geom.PointList
 
scaleSelf(Vec3D) - Method in class toxi.geom.PointList
 
scaleSelf(float) - Method in class toxi.geom.Quaternion
 
scaleSelf(float) - Method in class toxi.geom.Vec2D
Scales vector uniformly and overrides coordinates with result
scaleSelf(float, float) - Method in class toxi.geom.Vec2D
Scales vector non-uniformly by vector {a,b,c} and overrides coordinates with result
scaleSelf(Vec2D) - Method in class toxi.geom.Vec2D
Scales vector non-uniformly by vector v and overrides coordinates with result
scaleSelf(float) - Method in class toxi.geom.Vec3D
Scales vector uniformly and overrides coordinates with result.
scaleSelf(float, float, float) - Method in class toxi.geom.Vec3D
Scales vector non-uniformly by vector {a,b,c} and overrides coordinates with result.
scaleSelf(Vec3D) - Method in class toxi.geom.Vec3D
Scales vector non-uniformly by vector v and overrides coordinates with result.
set(AABB) - Method in class toxi.geom.AABB
 
set(float, float, float) - Method in class toxi.geom.AABB
Updates the position of the box in space and calls AABB.updateBounds() immediately
set(Vec3D) - Method in class toxi.geom.AABB
Updates the position of the box in space and calls AABB.updateBounds() immediately
set(double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double) - Method in class toxi.geom.Matrix4x4
 
set(Matrix4x4) - Method in class toxi.geom.Matrix4x4
 
set(float, float, float, float) - Method in class toxi.geom.Quaternion
 
set(float, Vec3D) - Method in class toxi.geom.Quaternion
 
set(Quaternion) - Method in class toxi.geom.Quaternion
 
set(float, float, float, float) - Method in class toxi.geom.Rect
Sets new bounds for this rectangle.
set(Rect) - Method in class toxi.geom.Rect
 
set(Vec3D, Vec3D, Vec3D) - Method in class toxi.geom.Triangle
 
set(Vec2D, Vec2D, Vec2D) - Method in class toxi.geom.Triangle2D
 
set(float, float) - Method in class toxi.geom.Vec2D
Overrides coordinates with the given values
set(Vec2D) - Method in class toxi.geom.Vec2D
Overrides coordinates with the ones of the given vector
set(float, float, float) - Method in class toxi.geom.Vec3D
Overrides coordinates with the given values.
set(Vec3D) - Method in class toxi.geom.Vec3D
Overrides coordinates with the ones of the given vector.
setBaseColor(int) - Method in class toxi.geom.mesh.MaterialiseSTLColorModel
 
setBias(float) - Method in class toxi.util.datatypes.BiasedFloatRange
 
setBias(int) - Method in class toxi.util.datatypes.BiasedIntegerRange
 
setComponent(Vec2D.Axis, float) - Method in class toxi.geom.Vec2D
 
setComponent(Vec3D.Axis, float) - Method in class toxi.geom.Vec3D
 
setCurrent(double) - Method in class toxi.util.datatypes.DoubleRange
 
setCurrent(float) - Method in class toxi.util.datatypes.FloatRange
 
setCurrent(int) - Method in class toxi.util.datatypes.IntegerRange
 
setDimension(Vec2D) - Method in class toxi.geom.Rect
 
setDirection(Vec2D) - Method in class toxi.geom.Ray2D
Uses a normalized copy of the given vector as the ray direction.
setDirection(Vec3D) - Method in class toxi.geom.Ray3D
Uses a normalized copy of the given vector as the ray direction.
setExtent(Vec3D) - Method in class toxi.geom.AABB
Updates the size of the box and calls AABB.updateBounds() immediately
setFlipped(boolean) - Method in class toxi.math.CircularInterpolation
 
setFunction(SurfaceFunction) - Method in class toxi.geom.mesh.SurfaceMeshBuilder
 
setInputRange(double, double) - Method in class toxi.math.ScaleMap
Sets new minimum & maximum values for the input range
setLength(float) - Method in interface toxi.geom.AxisAlignedCylinder
 
setLength(float) - Method in class toxi.geom.XAxisCylinder
 
setLength(float) - Method in class toxi.geom.YAxisCylinder
 
setLength(float) - Method in class toxi.geom.ZAxisCylinder
 
setLensPos(float, float) - Method in class toxi.math.ZoomLensInterpolation
 
setLensStrength(float, float) - Method in class toxi.math.ZoomLensInterpolation
 
setMapFunction(InterpolateStrategy) - Method in class toxi.math.ScaleMap
Overrides the mapping function used for the scale conversion.
setMinNodeSize(float) - Method in class toxi.geom.PointOctree
 
setOutputRange(double, double) - Method in class toxi.math.ScaleMap
Sets new minimum & maximum values for the output/target range
setPhase(float) - Method in class toxi.math.waves.AbstractWave
Starts the wave from a new phase.
setPointList(List<Vec2D>) - Method in class toxi.geom.Spline2D
Overrides the current control points with the given list.
setPointList(List<Vec3D>) - Method in class toxi.geom.Spline3D
 
setPosition(Vec3D) - Method in interface toxi.geom.AxisAlignedCylinder
 
setPosition(Vec2D) - Method in class toxi.geom.Rect
 
setPosition(Vec3D) - Method in class toxi.geom.XAxisCylinder
 
setPosition(Vec3D) - Method in class toxi.geom.YAxisCylinder
 
setPosition(Vec3D) - Method in class toxi.geom.ZAxisCylinder
 
setRadii(float, float) - Method in class toxi.geom.Ellipse
Sets the radii of the ellipse to the new values.
setRadii(Vec2D) - Method in class toxi.geom.Ellipse
Sets the radii of the ellipse to the values given by the vector.
setRadius(float) - Method in interface toxi.geom.AxisAlignedCylinder
 
setRadius(float) - Method in class toxi.geom.Circle
 
setRadius(float) - Method in class toxi.geom.XAxisCylinder
 
setRadius(float) - Method in class toxi.geom.YAxisCylinder
 
setRadius(float) - Method in class toxi.geom.ZAxisCylinder
 
setRandom(Random) - Method in class toxi.util.datatypes.DoubleRange
 
setRandom(Random) - Method in class toxi.util.datatypes.FloatRange
 
setRandom(Random) - Method in class toxi.util.datatypes.GenericSet
 
setRandom(Random) - Method in class toxi.util.datatypes.IntegerRange
 
setRandom(Random) - Method in class toxi.util.datatypes.IntegerSet
 
setScale(float) - Method in class toxi.geom.mesh.STLWriter
 
setScale(Vec3D) - Method in class toxi.geom.mesh.STLWriter
 
setStandardDeviation(float) - Method in class toxi.util.datatypes.BiasedFloatRange
 
setStandardDeviation(float) - Method in class toxi.util.datatypes.BiasedIntegerRange
 
setTightness(float) - Method in class toxi.geom.Spline2D
Sets the tightness for future curve interpolation calls.
setTightness(float) - Method in class toxi.geom.Spline3D
Sets the tightness for future curve interpolation calls.
setTreeAutoReduction(boolean) - Method in class toxi.geom.PointOctree
Enables/disables auto reduction of branches after points have been deleted from the tree.
setXY(Vec2D) - Method in class toxi.geom.Vec3D
Overrides XY coordinates with the ones of the given 2D vector.
shuffle(T[]) - Static method in class toxi.util.datatypes.ArrayUtil
Rearranges the array items in random order using the default java.util.Random generator.
shuffle(T[], Random) - Static method in class toxi.util.datatypes.ArrayUtil
Rearranges the array items in random order using the given RNG.
SigmoidInterpolation - Class in toxi.math
Implements the sigmoid interpolation function with adjustable curve sharpness
SigmoidInterpolation() - Constructor for class toxi.math.SigmoidInterpolation
 
SigmoidInterpolation(float) - Constructor for class toxi.math.SigmoidInterpolation
 
sign(double) - Static method in class toxi.math.MathUtils
 
sign(float) - Static method in class toxi.math.MathUtils
 
sign(int) - Static method in class toxi.math.MathUtils
 
signum() - Method in class toxi.geom.Vec2D
Replaces all vector components with the signum of their original values.
signum() - Method in class toxi.geom.Vec3D
Replaces all vector components with the signum of their original values.
SimplexNoise - Class in toxi.math.noise
Simplex Noise in 2D, 3D and 4D.
SimplexNoise() - Constructor for class toxi.math.noise.SimplexNoise
 
sin(double) - Static method in class toxi.math.MathUtils
 
sin(float) - Static method in class toxi.math.MathUtils
Returns a fast sine approximation of a value.
sin(float) - Static method in class toxi.math.SinCosLUT
Calculates sine for the passed angle in radians.
SinCosLUT - Class in toxi.math
Lookup table for fast sine & cosine computations.
SinCosLUT() - Constructor for class toxi.math.SinCosLUT
 
SineWave - Class in toxi.math.waves
Standard Sine wave at fixed frequency and values normalized to the given amplitude.
SineWave() - Constructor for class toxi.math.waves.SineWave
 
SineWave(float, float) - Constructor for class toxi.math.waves.SineWave
 
SineWave(float, float, float, float) - Constructor for class toxi.math.waves.SineWave
 
SingletonRegistry - Class in toxi.util.datatypes
Implements a registry for dynamic singleton management.
sinLUT - Static variable in class toxi.math.SinCosLUT
LUT for sine values
Sphere - Class in toxi.geom
 
Sphere() - Constructor for class toxi.geom.Sphere
 
Sphere(Sphere) - Constructor for class toxi.geom.Sphere
 
Sphere(Vec3D, float) - Constructor for class toxi.geom.Sphere
 
SphereIntersectorReflector - Class in toxi.geom
 
SphereIntersectorReflector(Sphere) - Constructor for class toxi.geom.SphereIntersectorReflector
 
SphereIntersectorReflector(Vec3D, float) - Constructor for class toxi.geom.SphereIntersectorReflector
 
SphericalHarmonics - Class in toxi.geom.mesh
Spherical harmonics surface evaluator based on code by Paul Bourke: http://local.wasp.uwa.edu.au/~pbourke/geometry/sphericalh/
SphericalHarmonics(float[]) - Constructor for class toxi.geom.mesh.SphericalHarmonics
 
Spline2D - Class in toxi.geom
This is a generic 3D B-Spline class for curves of arbitrary length, control handles and patches are created and joined automatically as described here: ibiblio.org/e-notes/ Splines/Bint.htm
Spline2D() - Constructor for class toxi.geom.Spline2D
Constructs an empty spline container with default curve tightness.
Spline2D(List<Vec2D>) - Constructor for class toxi.geom.Spline2D
 
Spline2D(List<Vec2D>, BernsteinPolynomial, float) - Constructor for class toxi.geom.Spline2D
 
Spline2D(Vec2D[]) - Constructor for class toxi.geom.Spline2D
 
Spline2D(Vec2D[], BernsteinPolynomial, float) - Constructor for class toxi.geom.Spline2D
 
Spline3D - Class in toxi.geom
This is a generic 3D B-Spline class for curves of arbitrary length, control handles and patches are created and joined automatically as described here: ibiblio.org/e-notes/ Splines/Bint.htm
Spline3D() - Constructor for class toxi.geom.Spline3D
Constructs an empty spline container with default curve tightness.
Spline3D(List<Vec3D>) - Constructor for class toxi.geom.Spline3D
 
Spline3D(List<Vec3D>, BernsteinPolynomial, float) - Constructor for class toxi.geom.Spline3D
 
Spline3D(Vec3D[]) - Constructor for class toxi.geom.Spline3D
 
Spline3D(Vec3D[], BernsteinPolynomial, float) - Constructor for class toxi.geom.Spline3D
 
splitIntoSegments(ArrayList<Vec2D>, float, boolean) - Method in class toxi.geom.Line2D
 
splitIntoSegments(Vec2D, Vec2D, float, ArrayList<Vec2D>, boolean) - Static method in class toxi.geom.Line2D
Splits the line between A and B into segments of the given length, starting at point A.
splitIntoSegments(Vec3D, Vec3D, float, ArrayList<Vec3D>, boolean) - Static method in class toxi.geom.Line3D
Splits the line between A and B into segments of the given length, starting at point A.
splitIntoSegments(ArrayList<Vec3D>, float, boolean) - Method in class toxi.geom.Line3D
 
sqrt(float) - Static method in class toxi.math.MathUtils
Deprecated.  
SQRT2 - Static variable in class toxi.math.MathUtils
Square root of 2
SQRT3 - Static variable in class toxi.math.MathUtils
Square root of 3
squareInchToMillis(double) - Static method in class toxi.math.conversion.UnitTranslator
Converts an area measure in square inch to square millimeters.
squarePointsToInch(double) - Static method in class toxi.math.conversion.UnitTranslator
Converts an area measure in points to square inch.
squarePointsToMillis(double) - Static method in class toxi.math.conversion.UnitTranslator
Converts an area measure in points to square millimeters.
standardDeviation - Variable in class toxi.util.datatypes.BiasedIntegerRange
 
STLColorModel - Interface in toxi.geom.mesh
 
STLReader - Class in toxi.geom.mesh
Utility class to read binary STL files and turn them into TriangleMesh instances.
STLReader() - Constructor for class toxi.geom.mesh.STLReader
 
STLWriter - Class in toxi.geom.mesh
A simple, but flexible and memory efficient exporter for binary STL files.
STLWriter() - Constructor for class toxi.geom.mesh.STLWriter
 
STLWriter(STLColorModel) - Constructor for class toxi.geom.mesh.STLWriter
 
sub(Matrix4x4) - Method in class toxi.geom.Matrix4x4
 
sub(Quaternion) - Method in class toxi.geom.Quaternion
 
sub(float, float) - Method in class toxi.geom.Vec2D
Subtracts vector {a,b,c} and returns result as new vector.
sub(Vec2D) - Method in class toxi.geom.Vec2D
Subtracts vector v and returns result as new vector.
sub(float, float, float) - Method in class toxi.geom.Vec3D
Subtracts vector {a,b,c} and returns result as new vector.
sub(Vec3D) - Method in class toxi.geom.Vec3D
Subtracts vector v and returns result as new vector.
subSelf(Matrix4x4) - Method in class toxi.geom.Matrix4x4
 
subSelf(Vec3D) - Method in class toxi.geom.PointList
 
subSelf(Quaternion) - Method in class toxi.geom.Quaternion
 
subSelf(float, float) - Method in class toxi.geom.Vec2D
Subtracts vector {a,b,c} and overrides coordinates with result.
subSelf(Vec2D) - Method in class toxi.geom.Vec2D
Subtracts vector v and overrides coordinates with result.
subSelf(float, float, float) - Method in class toxi.geom.Vec3D
Subtracts vector {a,b,c} and overrides coordinates with result.
subSelf(Vec3D) - Method in class toxi.geom.Vec3D
Subtracts vector v and overrides coordinates with result.
SuperEllipsoid - Class in toxi.geom.mesh
Super ellipsoid surface evaluator based on code by Paul Bourke: http://local.wasp.uwa.edu.au/~pbourke/geometry/superellipse/
SuperEllipsoid(float, float) - Constructor for class toxi.geom.mesh.SuperEllipsoid
 
SurfaceFunction - Interface in toxi.geom.mesh
This interface defines a functor for evaluating the coordinates of a surface mesh used by SurfaceMeshBuilder.
SurfaceMeshBuilder - Class in toxi.geom.mesh
An extensible builder class for TriangleMeshes based on 3D surface functions using spherical coordinates.
SurfaceMeshBuilder(SurfaceFunction) - Constructor for class toxi.geom.mesh.SurfaceMeshBuilder
 

A B C D E F G H I J L M N O P Q R S T U V W X Y Z