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

A

A - Variable in class frink.graphics.Plane3DFloat
The coefficients of the plane.
add(VoxelArray) - Method in class frink.graphics.VoxelArray
Adds the pixels in this VoxelArray that are true in VoxelArray b, modifying this VoxelArray in place.
addAlongLine(VoxelArray, int, int, int, int, int, int, int, int, int) - Method in class frink.graphics.VoxelArray
Adds the pixels in this VoxelArray by moving the VoxelArray b along a line and adding the points in VoxelArray b that are true, modifying this VoxelArray in place.
addPoint(float, float) - Method in class frink.graphics.BoundingBox2DFloat
Add a point to a BoundingBox.
addPoint(Point2DFloat) - Method in class frink.graphics.BoundingBox2DFloat
Add a point to a BoundingBox.
addPoint(float, float, float) - Method in class frink.graphics.BoundingBox3DFloat
Add a point to a BoundingBox.
addPoint(Point3DFloat) - Method in class frink.graphics.BoundingBox3DFloat
Add a point to a BoundingBox.
addPoint(float, float) - Method in class frink.graphics.Point2DFloatList
Adds a point to this shape.
addPoint(Point2DFloat) - Method in class frink.graphics.Point2DFloatList
Adds a point to this shape.
addPoint(int, int, int) - Method in class frink.graphics.Point3DIntList
Adds a point to this shape.
addPoint(Point3DInt) - Method in class frink.graphics.Point3DIntList
Adds a point to this shape.
ADDRESS_BITS_PER_WORD - Static variable in class frink.graphics.BiggerBitSet
 
altAzToXYZ(double, double, double, double, double, double, Point3DFloat) - Static method in class frink.graphics.Point3DFloat
Transforms altAz coordinates r, alt, az into cartesian coordinates x, y, z.
altAzToXYZ(Point3DDouble, Point3DFloat) - Static method in class frink.graphics.Point3DFloat
Transforms this point which represents its elements as altAz coordinates r, alt, az, into cartesian coordinates x, y, z.
and(BiggerBitSet) - Method in class frink.graphics.BiggerBitSet
Performs a logical AND of this target bit set with the argument bit set.
andNot(BiggerBitSet) - Method in class frink.graphics.BiggerBitSet
Clears all of the bits in this BiggerBitSet whose corresponding bit is set in the specified BiggerBitSet.
area - Variable in class frink.graphics.Point2DFloatList.CentroidAndArea
The area of the polygon.
area - Variable in class frink.graphics.VoxelArray
The area of the XY plane.

B

B - Variable in class frink.graphics.Plane3DFloat
The coefficients of the plane.
bbox - Variable in class frink.graphics.LineSegment3DFloat
The bounding box of this line.
BiggerBitSet - Class in frink.graphics
BiggerBitSet is an improvement on Java's BitSet class in a few ways: 1.) BiggerBitSet uses long instead of int to address bits in its API which greatly increases the size of bits addresable.
BiggerBitSet(long) - Constructor for class frink.graphics.BiggerBitSet
Creates a bit set whose initial size is large enough to explicitly represent bits with indices in the range 0 through nbits-1.
BIT_INDEX_MASK - Static variable in class frink.graphics.BiggerBitSet
 
bitCountLong(long) - Static method in class frink.graphics.BiggerBitSet
Returns the number of one-bits in the two's complement binary representation of the specified long value.
BITS_PER_WORD - Static variable in class frink.graphics.BiggerBitSet
 
boundingBox - Variable in class frink.graphics.Point2DFloatList
Bounding box of the shape.
boundingBox - Variable in class frink.graphics.Point3DIntList
Bounding box of the shape.
BoundingBox2DFloat - Class in frink.graphics
This represents the bounding box of a 3-D object with float boundaries.
BoundingBox2DFloat() - Constructor for class frink.graphics.BoundingBox2DFloat
Public constructor to construct an empty bounding box.
BoundingBox2DFloat(float, float) - Constructor for class frink.graphics.BoundingBox2DFloat
Construct a zero-sized BoundingBox around a single point.
BoundingBox2DFloat(BoundingBox2DFloat) - Constructor for class frink.graphics.BoundingBox2DFloat
Copy constructor.
BoundingBox2DFloat(Point2DFloat) - Constructor for class frink.graphics.BoundingBox2DFloat
Construct a zero-sized BoundingBox around a single point.
BoundingBox2DFloat(float, float, float, float) - Constructor for class frink.graphics.BoundingBox2DFloat
Construct a BoundingBox with the specified coordinates.
BoundingBox2DFloat(Point2DFloat, Point2DFloat) - Constructor for class frink.graphics.BoundingBox2DFloat
Construct a BoundingBox with the specified coordinates.
BoundingBox3DFloat - Class in frink.graphics
This represents the bounding box of a 3-D object with float boundaries.
BoundingBox3DFloat() - Constructor for class frink.graphics.BoundingBox3DFloat
Public constructor to construct an empty bounding box.
BoundingBox3DFloat(float, float, float) - Constructor for class frink.graphics.BoundingBox3DFloat
Construct a zero-sized BoundingBox around a single point.
BoundingBox3DFloat(BoundingBox3DFloat) - Constructor for class frink.graphics.BoundingBox3DFloat
Copy constructor.
BoundingBox3DFloat(Point3DFloat) - Constructor for class frink.graphics.BoundingBox3DFloat
Construct a zero-sized BoundingBox around a single point.
BoundingBox3DFloat(float, float, float, float, float, float) - Constructor for class frink.graphics.BoundingBox3DFloat
Construct a BoundingBox with the specified coordinates.
BoundingBox3DFloat(Point3DFloat, Point3DFloat) - Constructor for class frink.graphics.BoundingBox3DFloat
Construct a BoundingBox with the specified coordinates.
boundingBoxNeedsRecalculation - Variable in class frink.graphics.Point2DFloatList
A flag indicating if the BoundingBox needs recalculation.
boundingBoxNeedsRecalculation - Variable in class frink.graphics.Point3DIntList
A flag indicating if the BoundingBox needs recalculation.

C

C - Variable in class frink.graphics.Plane3DFloat
The coefficients of the plane.
calculateCentroidAndArea() - Method in class frink.graphics.Point2DFloatList
Calculate the centroid of the point list and the area, and caches it.
cardinality() - Method in class frink.graphics.BiggerBitSet
Returns the number of bits set to true in this BiggerBitSet.
centerOfMass() - Method in class frink.graphics.VoxelArray
Calculate the center of mass of all set voxels (assuming each voxel has the same density).
centroid - Variable in class frink.graphics.Point2DFloatList.CentroidAndArea
The centroid of the polygon.
centroidAndArea - Variable in class frink.graphics.Point2DFloatList
The centroid and area, if we've calculated it.
CentroidAndArea() - Constructor for class frink.graphics.Point2DFloatList.CentroidAndArea
 
centroidNeedsRecalculation - Variable in class frink.graphics.Point2DFloatList
Flag indicating if the centroidAndArea needs recalculating.
checkPoint(long, long, long) - Method in class frink.graphics.VoxelArray
This method checks a point to see if it is within a valid range for this VoxelArray and throws an IndexOutOfBoundsException if it doesn't.
checkRange(long, long) - Static method in class frink.graphics.BiggerBitSet
Checks that fromIndex ...
clear(long) - Method in class frink.graphics.BiggerBitSet
Sets the bit specified by the index to false.
clear() - Method in class frink.graphics.BiggerBitSet
Sets all of the bits in this BiggerBitSet to false.
clearRange(long, long) - Method in class frink.graphics.BiggerBitSet
Sets the bits from the specified fromIndex (inclusive) to the specified toIndex (exclusive) to false.
clone() - Method in class frink.graphics.BiggerBitSet
Cloning this BiggerBitSet produces a new BiggerBitSet that is equal to it.
construct(double, double, double, double, double, double, boolean) - Static method in class frink.graphics.VoxelArray
Construct a new rectangular VoxelArray that encloses the specific min and max coordinates.
construct(Point3DIntList) - Static method in class frink.graphics.VoxelArray
Construct a new rectangular VoxelArray that represents the points in the Point3DIntList.
construct(BoundingBox3DFloat, boolean) - Static method in class frink.graphics.VoxelArray
Construct a new rectangular VoxelArray that encloses the specific bounding box.
CoordinateTransformer3DFloat - Class in frink.graphics
This class is a high-performace class to perform coordinate transformations on floating-point values.
CoordinateTransformer3DFloat() - Constructor for class frink.graphics.CoordinateTransformer3DFloat
The constructor is private.
CoordinateTransformer3DFloat(float, float, float, float, float, float, float, float, float, float, float, float) - Constructor for class frink.graphics.CoordinateTransformer3DFloat
Make an arbitrary transformation matrix.
countSetBits() - Method in class frink.graphics.VoxelArray
Counts the number of set bits.
crossProduct(Point3DFloat, Point3DFloat) - Static method in class frink.graphics.Point3DFloat
Calculates the cross product of two vectors in 3D space, each represented as a Point3DFloat, and returns the vector cross product.
crossProduct(Point3DFloat) - Method in class frink.graphics.Point3DFloat
Calculates the cross product of this vector and another vector, each represented as a Point3DFloat, in 3D space and returns the vector cross product.
crossProduct(Point3DFloat, Point3DFloat, Point3DFloat) - Static method in class frink.graphics.Point3DFloat
Returns the cross prduct of three points in 3D space (as listed in counterclockwise order as seen from the "outside") and returns the vector cross product.
crossProductLength(Point3DFloat) - Method in class frink.graphics.Point3DFloat
Calculates the LENGTH of the cross product of two vectors in 3D space and returns the length.
crossProductLength(Point3DFloat, Point3DFloat) - Static method in class frink.graphics.Point3DFloat
Calculates the LENGTH of the cross product of this vector and another vector in 3D space and returns the length.
crossProductLength(float, float, float, float, float, float) - Static method in class frink.graphics.Point3DFloat
Calculates the LENGTH of the cross product of two vectors in 3D space and returns the length.
cube(double, double, double, double, double, double, boolean) - Static method in class frink.graphics.VoxelArray
Construct a new rectangular VoxelArray that is a cuboid with the specified minimum and maximum values.
cubeEdgeFlags - Static variable in class frink.graphics.MarchingCubes
For any edge, if one vertex is inside of the surface and the other is outside of the surface then the edge intersects the surface.
cylindricalEmboss(FrinkImage, float, float, float, double, double, float, float, float, VoxelArray, int, int, int) - Method in class frink.graphics.VoxelArray
Embosses an image using a cylindrical mapping into the outer hull of an object.
cylindricalEmboss(FrinkImage, float, float, float, double, double, float, int, int, float, float, float, float, VoxelArray, int, int, int) - Method in class frink.graphics.VoxelArray
Embosses an image using a cylindrical mapping into the outer hull of an object.
cylindricalToXYZ(double, double, double, double, double, double, Point3DFloat) - Static method in class frink.graphics.Point3DFloat
Transforms cylindrical coordinates r, az, h into cartesian coordinates x, y, z.
cylindricalToXYZ(Point3DDouble, Point3DFloat) - Static method in class frink.graphics.Point3DFloat
Transforms this point which represents its elements as cylindrical coordinates r, az, h into cartesian coordinates x, y, z.

D

D - Variable in class frink.graphics.Plane3DFloat
The coefficients of the plane.
determinant() - Method in class frink.graphics.CoordinateTransformer3DFloat
Returns the determinant of this matrix.
distance(Point3DFloat) - Method in class frink.graphics.LineSegment3DFloat
Calculate the distance from this finite line segment to the specified point in 3D.
distance(float, float, float) - Method in class frink.graphics.LineSegment3DFloat
Calculate the distance from this finite line segment to the specified point in 3D.
distance(float, float, float, float) - Static method in class frink.graphics.Point2DFloat
Returns the distance between two points, (x1, y1) and (x2, y2).
distance(Point3DFloat, Point3DFloat) - Static method in class frink.graphics.Point3DFloat
Calculates the distance between two points.
distance(Point3DFloat) - Method in class frink.graphics.Point3DFloat
Calculates the distance between this point and another point.
distance(float, float, float) - Method in class frink.graphics.Point3DFloat
Calculates the distance between this point and some 3-D coordinates.
distance(float, float, float, float, float, float) - Static method in class frink.graphics.Point3DFloat
Returns the distance between two points specified by their coordinates.
distanceSquared(Point3DFloat, Point3DFloat) - Static method in class frink.graphics.Point3DFloat
Returns the squared distance between two points.
distanceSquared(Point3DFloat) - Method in class frink.graphics.Point3DFloat
Returns the squared distance between this point and another point.
distanceToLine(Point3DFloat) - Method in class frink.graphics.LineSegment3DFloat
Calculate the distance from an infinite line (not a line segment!) to the specified point in 3D.
dotProduct(Point3DFloat, Point3DFloat) - Static method in class frink.graphics.Point3DFloat
Returns the dot product of two vectors, each represented as a Point3DFloat.
dotProduct(Point3DFloat) - Method in class frink.graphics.Point3DFloat
Returns the dot product of this vector and another vector, each represented as a Point3DFloat.
drawCappedCylinder(Point3DFloat, Point3DFloat, float) - Method in class frink.graphics.VoxelArray
Draws a cylinder with spherical end caps with the specified endpoints and radius into this VoxelArray, modifying it in place.
drawCappedCylinder(float, float, float, float, float, float, float) - Method in class frink.graphics.VoxelArray
Draws a cylinder with spherical end caps with the specified endpoints and radius into this VoxelArray, modifying it in place.
drawCylinder(Point3DFloat, Point3DFloat, float) - Method in class frink.graphics.VoxelArray
Draws a cylinder with the specified endpoints and radius into this VoxelArray, modifying it in place.
drawCylinder(float, float, float, float, float, float, float) - Method in class frink.graphics.VoxelArray
Draws a cylinder with the specified endpoints and radius into this VoxelArray, modifying it in place.
drawTaperedCappedCylinder(Point3DFloat, Point3DFloat, float, float) - Method in class frink.graphics.VoxelArray
Draws a cylinder with spherical end caps with the specified endpoints and radius into this VoxelArray, modifying it in place.
drawTaperedCappedCylinder(float, float, float, float, float, float, float, float) - Method in class frink.graphics.VoxelArray
Draws a cylinder with spherical end caps with the specified endpoints and radius into this VoxelArray, modifying it in place.
drawTaperedCylinder(Point3DFloat, Point3DFloat, float, float) - Method in class frink.graphics.VoxelArray
Draws a cylinder with the specified endpoints and radiii into this VoxelArray, modifying it in place.
drawTaperedCylinder(float, float, float, float, float, float, float, float) - Method in class frink.graphics.VoxelArray
Draws a cylinder with the specified endpoints and radii into this VoxelArray, modifying it in place.

E

edgeConnection - Static variable in class frink.graphics.MarchingCubes
edgeConnection lists the index of the endpoint vertices for each of the 12 edges of the cube.
edgeDirection - Static variable in class frink.graphics.MarchingCubes
edgeDirection lists the direction vector (vertex1-vertex0) for each edge in the cube.
equals(Object) - Method in class frink.graphics.BiggerBitSet
Compares this object against the specified object.
equals(Object) - Method in class frink.graphics.Point3DInt
Comparison operator for hashing.
expand(float) - Method in class frink.graphics.BoundingBox2DFloat
Expands a BoundingBox2DFloat by the specified value on each side and returns a new bounding box.
expand(float, float) - Method in class frink.graphics.BoundingBox2DFloat
Expands a BoundingBox2DFloat by the specified value on each side and returns a new bounding box.
expand(float, float, float, float) - Method in class frink.graphics.BoundingBox2DFloat
Expands a BoundingBox2DFloat by the specified value on each side and returns a new bounding box.
expand(float) - Method in class frink.graphics.BoundingBox3DFloat
Expands a BoundingBox3DFloat by the specified value on each side and returns a new bounding box.
expand(float, float, float) - Method in class frink.graphics.BoundingBox3DFloat
Expands a BoundingBox3DFloat by the specified value on each side and returns a new bounding box.
expand(float, float, float, float, float, float) - Method in class frink.graphics.BoundingBox3DFloat
Expands a BoundingBox3DFloat by the specified value on each side and returns a new bounding box.
externalHullPoints() - Method in class frink.graphics.VoxelArray
Returns a list of points on the hull of the object.
extrudeOnPlane(FrinkImage, float, float, float, float, float, float, float, double) - Static method in class frink.graphics.VoxelArray
Extrudes an image along a plane specified by a point on the plane (x, ,y, z) and a normal vector to the plane specified by (u,v,w).
extrudeTapered(Point2DFloatList, float, float, float, float, float, float, float, float, float, float, double) - Static method in class frink.graphics.VoxelArray
Extrudes a filled polygon along a line from p1 to p2 and returns a new VoxelArray of it.
extrudeTaperedRotated(Point2DFloatList, float, float, float, float, float, float, float, float, float, float, double, double) - Static method in class frink.graphics.VoxelArray
Extrudes a filled polygon along a line from p1 to p2 and returns a new VoxelArray of it.
extrudeZ(FrinkImage, int) - Static method in class frink.graphics.VoxelArray
Extrudes an image along the Z axis and returns a new VoxelArray of it.
extrudeZ(FrinkImage, int, int) - Static method in class frink.graphics.VoxelArray
Extrudes an image along the Z axis and returns a new VoxelArray of it.
extrudeZ(Point2DFloatList, float, float) - Static method in class frink.graphics.VoxelArray
Extrudes a filled polygon along the Z axis and returns a new VoxelArray of it.
extrudeZTapered(Point2DFloatList, float, float, float, float) - Static method in class frink.graphics.VoxelArray
Extrudes a filled polygon (centered around its centroid) along the Z axis and returns a new VoxelArray of it.
extrudeZTapered(Point2DFloatList, float, float, float, float, float, float) - Static method in class frink.graphics.VoxelArray
Extrudes a filled polygon along the Z axis and returns a new VoxelArray of it.
extrudeZTapered(Point2DFloatList, float, float, float, float, float, float, double, double) - Static method in class frink.graphics.VoxelArray
Extrudes a filled polygon along the Z axis and returns a new VoxelArray of it.

F

farthestSetPoint(LineSegment3DFloat) - Method in class frink.graphics.VoxelArray
Returns the farthest set point from the specified (infinite) line.
fGetOffset(float, float, float) - Static method in class frink.graphics.MarchingCubes
fGetOffset finds the approximate point of intersection of the surface between two points with the values fValue1 and fValue2.
Field3DFloat - Interface in frink.graphics
This class represents a scalar field that can be sampled at 3-dimensional points to get the value of that point as a float.
fillCube(float, float, float, float, float, float, boolean) - Method in class frink.graphics.VoxelArray
Sets the values in the specified cube to a specific value (true or false.) Coordinates are rounded to the nearest voxel.
flip(long) - Method in class frink.graphics.BiggerBitSet
Sets the bit at the specified index to the complement of its current value.
flip(long, long) - Method in class frink.graphics.BiggerBitSet
Sets each bit from the specified fromIndex (inclusive) to the specified toIndex (exclusive) to the complement of its current value.
FLOAT_FMT - Static variable in class frink.graphics.STLFormatter
A DecimalFormat that will be used to format numbers to 5 decimal places.
FLOAT_FMT - Static variable in class frink.graphics.WavefrontObj
A DecimalFormat that will be used to format numbers to 5 decimal places, and will eliminate trailing zeroes.
floodFill(int, int, int, int, int, int, int, int, int) - Method in class frink.graphics.VoxelArray
Performs a flood fill of the specified VoxelArray, filling only to the specified bounds.
frink.graphics - package frink.graphics
This package implements device-independent rendering of graphics for Frink.

G

get(long) - Method in class frink.graphics.BiggerBitSet
Returns the value of the bit with the specified index.
get(int, int, int) - Method in class frink.graphics.VoxelArray
Returns the value of the point at (x,y,z) (true or false)
getArea() - Method in class frink.graphics.Point2DFloatList
Calculates the area (if necessary) and returns it.
getBoundingBox() - Method in class frink.graphics.LineSegment3DFloat
Gets the bounding box of this line segment.
getBoundingBox() - Method in class frink.graphics.Point2DFloatList
Returns the Bounding box of the object.
getBoundingBox() - Method in class frink.graphics.Point3DIntList
Returns the Bounding box of the object.
getCenter() - Method in class frink.graphics.VoxelArray
Returns a Point3DFloat representing the center of this VoxelArray.
getCentroid() - Method in class frink.graphics.Point2DFloatList
Calculates the centroid (if necessary) and returns it.
getCentroidAndArea() - Method in class frink.graphics.Point2DFloatList
Calculates the centroid and area (if necessary) and returns it.
getColor(Point3DFloat, Point3DFloat) - Method in class frink.graphics.MarchingCubes
getColor generates a color from a given position and normal of a point.
getMaximumSetPoints() - Method in class frink.graphics.VoxelArray
Find the maximum set pixels on the (x,y,z) axes in this VoxelArray and returns a Point3DInt containing their coordinates.
getMaxSetZ() - Method in class frink.graphics.VoxelArray
Quick function to obtain the highest set Z coordinate.
getMaxX() - Method in class frink.graphics.BoundingBox2DFloat
Returns the maximum value of x.
getMaxX() - Method in class frink.graphics.BoundingBox3DFloat
Returns the maximum value of x.
getMaxX() - Method in class frink.graphics.VoxelArray
Returns the max value in the x dimension.
getMaxY() - Method in class frink.graphics.BoundingBox2DFloat
Returns the maximum value of y.
getMaxY() - Method in class frink.graphics.BoundingBox3DFloat
Returns the maximum value of y.
getMaxY() - Method in class frink.graphics.VoxelArray
Returns the maximum value in the y dimension.
getMaxZ() - Method in class frink.graphics.BoundingBox3DFloat
Returns the maximum value of z.
getMaxZ() - Method in class frink.graphics.VoxelArray
Returns the maximum value in the z dimension.
getMinimumSetPoints() - Method in class frink.graphics.VoxelArray
Find the minimum set pixels on the (x,y,z) axes in this VoxelArray and returns a Point3DInt containing their coordinates.
getMinSetZ() - Method in class frink.graphics.VoxelArray
Quick function to obtain the lowest set Z coordinate.
getMinX() - Method in class frink.graphics.BoundingBox2DFloat
Returns the minimum value of x.
getMinX() - Method in class frink.graphics.BoundingBox3DFloat
Returns the minimum value of x.
getMinX() - Method in class frink.graphics.VoxelArray
Returns the minimum value in the x dimension.
getMinY() - Method in class frink.graphics.BoundingBox2DFloat
Returns the minimum value of y.
getMinY() - Method in class frink.graphics.BoundingBox3DFloat
Returns the minimum value of y.
getMinY() - Method in class frink.graphics.VoxelArray
Returns the minimum value in the y dimension.
getMinZ() - Method in class frink.graphics.BoundingBox3DFloat
Returns the minimum value of z.
getMinZ() - Method in class frink.graphics.VoxelArray
Returns the minimum value in the z dimension.
getNextSetBitIndex(long) - Method in class frink.graphics.VoxelArray
Returns the index of the next set bit that occurs on or after ther specified starting index.
getNoCheck(int, int, int) - Method in class frink.graphics.VoxelArray
Returns the value of the point at (x,y,z) without doing any boundary checks.
getNoCheck(Point3DInt) - Method in class frink.graphics.VoxelArray
Returns the value of the point without doing any boundary checks.
getNormal() - Method in class frink.graphics.Plane3DFloat
Returns the normalized unit normal of the plane.
getPoint(int) - Method in class frink.graphics.Point2DFloatList
Gets the specified point.
getPoint(int) - Method in class frink.graphics.Point3DIntList
Gets the specified point.
getPointCount() - Method in class frink.graphics.Point2DFloatList
Returns the number of points contained here.
getPointCount() - Method in class frink.graphics.Point3DIntList
Returns the number of points contained here.
getPreviousSetBitIndex(long) - Method in class frink.graphics.VoxelArray
Returns the index of the previous set bit that occurs on or before the specified starting index.
getSizeX() - Method in class frink.graphics.VoxelArray
Returns the size in the x dimension.
getSizeY() - Method in class frink.graphics.VoxelArray
Returns the size in the y dimension.
getSizeZ() - Method in class frink.graphics.VoxelArray
Returns the size in the z dimension.

H

hashCode() - Method in class frink.graphics.BiggerBitSet
Returns the hash code value for this bit set.
hashCode() - Method in class frink.graphics.Point3DInt
hashcode for hashing.
hasSameBoundary(VoxelArray) - Method in class frink.graphics.VoxelArray
Returns true if the bounds of the other VoxelArray is the same size and location as this one.
hullPoints() - Method in class frink.graphics.VoxelArray
Returns a list of points on the hull of the object.

I

IDENTITY - Static variable in class frink.graphics.CoordinateTransformer3DFloat
The identity matrix.
inCylinder(float, float, float, float) - Method in class frink.graphics.LineSegment3DFloat
Returns true if the point is within an uncapped finite cylinder surrounding the line segment with the specified radius.
indexToXYZ(long, long[]) - Method in class frink.graphics.VoxelArray
Convert an index into the BiggerBitSet into x,y,z coordinates.
initWords(long) - Method in class frink.graphics.BiggerBitSet
Create the array of words.
inTaperedCappedCylinder(float, float, float, float, float) - Method in class frink.graphics.LineSegment3DFloat
Returns true if the specified point is within a tapered cylinder with spherical endcaps.
inTaperedCylinder(float, float, float, float, float) - Method in class frink.graphics.LineSegment3DFloat
Returns true if the point (px, py, pz) is within an uncapped finite tapered cylinder surrounding the line segment with the specified radii at the endpoints.
intersection(BoundingBox2DFloat, BoundingBox2DFloat) - Method in class frink.graphics.BoundingBox2DFloat
Returns a new BoundingBox2DFloat which is the intersection of two bounding boxes.
intersection(BoundingBox3DFloat, BoundingBox3DFloat) - Method in class frink.graphics.BoundingBox3DFloat
Returns a new BoundingBox3DFloat which is the intersection of two bounding boxes.
intersects(BiggerBitSet) - Method in class frink.graphics.BiggerBitSet
Returns true if the specified BiggerBitSet has any bits set to true that are also set to true in this BiggerBitSet.
intersectsWith(VoxelArray) - Method in class frink.graphics.VoxelArray
Returns true if the bounding box of this VoxelArray intersects with the other VoxelArray, false otherwise.
intersectsWith(int, int, int, int, int, int) - Method in class frink.graphics.VoxelArray
Returns true if the bounding box of this VoxelArray intersects with a box containing the specified boundaries.
inverse() - Method in class frink.graphics.CoordinateTransformer3DFloat
Returns the inverse of this matrix.
invert() - Method in class frink.graphics.VoxelArray
Inverts all of the pixels in this VoxelArray.
isEmpty() - Method in class frink.graphics.BiggerBitSet
Returns true if this BiggerBitSet contains no bits that are set to true.
isEmpty() - Method in class frink.graphics.BoundingBox2DFloat
Returns true if this is empty.
isEmpty() - Method in class frink.graphics.BoundingBox3DFloat
Returns true if this is empty.
isInRange(long, long, long) - Method in class frink.graphics.VoxelArray
This method checks a point to see if it is within a valid range for this VoxelArray.
isInRange(Point3DInt) - Method in class frink.graphics.VoxelArray
This method checks a point to see if it is within a valid range for this VoxelArray.
isInside(float, float) - Method in class frink.graphics.BoundingBox2DFloat
Returns true if the point is within the bounding box.
isInside(float, float, float) - Method in class frink.graphics.BoundingBox3DFloat
Returns true if the point is within the bounding box.
isInside(float, float, float) - Method in class frink.graphics.Plane3DFloat
Returns true if the specified point is "inside" the plane.
isInside(Point3DFloat) - Method in class frink.graphics.Plane3DFloat
Returns true if the specified point is "inside" the plane.
isInside(float, float) - Method in class frink.graphics.Point2DFloatList
Returns true if the specified point is inside the polygon using the even-odd rule.

L

length() - Method in class frink.graphics.BiggerBitSet
Returns the "logical size" of this BiggerBitSet: the index of the highest set bit in the BiggerBitSet plus one.
length() - Method in class frink.graphics.Point3DFloat
Treats this point as a vector and returns its length from the origin.
length(float, float, float) - Static method in class frink.graphics.Point3DFloat
Treat the coordinates as a vector and return its length from the origin.
line3DInt(Point3DInt, Point3DInt) - Static method in class frink.graphics.LinePoints
Creates a vector of Point3DInt consisting of the integer points on a line between p1 and p2.
line3DInt(LineSegment3DFloat) - Static method in class frink.graphics.LinePoints
Creates a vector of Point3DInt consisting of the integer points on a line between p1 and p2.
line3DInt(int, int, int, int, int, int) - Static method in class frink.graphics.LinePoints
Creates a vector of Point3DInt consisting of the integer points on a line between p1 and p2.
LinePoints - Class in frink.graphics
This class contains routines to find the points along a line in 3D.
LinePoints() - Constructor for class frink.graphics.LinePoints
 
LineSegment3DFloat - Class in frink.graphics
This represents a line segment in 3-D space.
LineSegment3DFloat(Point3DFloat, Point3DFloat) - Constructor for class frink.graphics.LineSegment3DFloat
Construct a line segment with the 2 specified endpoints.
LineSegment3DFloat(float, float, float, float, float, float) - Constructor for class frink.graphics.LineSegment3DFloat
Construct a line segment with the 2 specified endpoints.

M

m11 - Variable in class frink.graphics.CoordinateTransformer3DFloat
Coordinates are split out into individual variables to make them more readable and to follow old matrix indexing conventions.
m12 - Variable in class frink.graphics.CoordinateTransformer3DFloat
 
m13 - Variable in class frink.graphics.CoordinateTransformer3DFloat
 
m14 - Variable in class frink.graphics.CoordinateTransformer3DFloat
 
m21 - Variable in class frink.graphics.CoordinateTransformer3DFloat
 
m22 - Variable in class frink.graphics.CoordinateTransformer3DFloat
 
m23 - Variable in class frink.graphics.CoordinateTransformer3DFloat
 
m24 - Variable in class frink.graphics.CoordinateTransformer3DFloat
 
m31 - Variable in class frink.graphics.CoordinateTransformer3DFloat
 
m32 - Variable in class frink.graphics.CoordinateTransformer3DFloat
 
m33 - Variable in class frink.graphics.CoordinateTransformer3DFloat
 
m34 - Variable in class frink.graphics.CoordinateTransformer3DFloat
 
makeCappedCylinder(Point3DFloat, Point3DFloat, float) - Static method in class frink.graphics.VoxelArray
Makes a cylinder with spherical end caps with the specified endpoints and radius.
makeCappedCylinder(float, float, float, float, float, float, float) - Static method in class frink.graphics.VoxelArray
Makes a cylinder with spherical end caps with the specified endpoints and radius.
makeCylinder(Point3DFloat, Point3DFloat, float) - Static method in class frink.graphics.VoxelArray
Makes a cylinder with with the specified endpoints and radius.
makeCylinder(float, float, float, float, float, float, float) - Static method in class frink.graphics.VoxelArray
Makes a cylinder with with the specified endpoints and radius.
makeNormal(float, float, float) - Static method in class frink.graphics.Point3DFloat
Constructs a Point3DFloat that is normalized to have length 1.
makeRegularPolygon(int, float, double) - Static method in class frink.graphics.Point2DFloatList
Constructs a regular polygon with the specified number of sides, outer radius, and starting angle specified in radians (0 radians points along the x-axis.) TODO: Make the angle as a Unit?
makeRotate(float, float, float, float, float, float, double) - Static method in class frink.graphics.CoordinateTransformer3DFloat
Build a rotation matrix for rotations about the line through the point (a, b, c) parallel to the vector [u, v, w] by the angle theta.
makeRotate(Point3DFloat, Point3DFloat, double) - Static method in class frink.graphics.CoordinateTransformer3DFloat
Build a rotation matrix for rotations about the line through the point point parallel to the vector vec by the angle theta.
makeRotateX(float, float, float, double) - Static method in class frink.graphics.CoordinateTransformer3DFloat
Build a rotation matrix for rotations about the line through the point (a, b, c) parallel to the x-axis by the angle theta.
makeRotateXYZ(float, float, float, double, double, double) - Static method in class frink.graphics.CoordinateTransformer3DFloat
Build a rotation matrix for three rotations around the point (a, b, c) by performing 3 successive rotations about the x, y, and z axes in that order.
makeRotateY(float, float, float, double) - Static method in class frink.graphics.CoordinateTransformer3DFloat
Build a rotation matrix for rotations about the line through the point (a, b, c) parallel to the y-axis by the angle theta.
makeRotateZ(float, float, float, double) - Static method in class frink.graphics.CoordinateTransformer3DFloat
Build a rotation matrix for rotations about the line through the point (a, b, c) parallel to the z-axis by the angle theta.
makeRoundedCube(float, float, float, float, float, float, float) - Static method in class frink.graphics.VoxelArray
Construct a new rounded cuboid VoxelArray that encloses the specific min and max coordinates and with corner diameter radius.
makeScale(float, float, float) - Static method in class frink.graphics.CoordinateTransformer3DFloat
Build a scaling matrix for scalings along the major axes.
makeSphere(float) - Static method in class frink.graphics.VoxelArray
Makes a new VoxelArray with a sphere centered at (0,0,0) with the specified radius.
makeSpheroid(float, float, float) - Static method in class frink.graphics.VoxelArray
Makes a new VoxelArray with a spheroid centered at (0,0,0) with the specified radius on each axis [rx, ry, rz] TODO: Make a version of this centered at any specified point.
makeSuperellipsoid(double, double, double, double, double) - Static method in class frink.graphics.VoxelArray
Creates a "superellipsoid" which is a generalization of the ellipsoid family which is a superset of the spheroid family.
makeSupertoroid(double, double, double, double, double, double) - Static method in class frink.graphics.VoxelArray
Creates a "supertoroid" which is a generalization of the toroid family.
makeTaperedCappedCylinder(Point3DFloat, Point3DFloat, float, float) - Static method in class frink.graphics.VoxelArray
Makes a cylinder with spherical end caps with the specified endpoints and radius.
makeTaperedCappedCylinder(float, float, float, float, float, float, float, float) - Static method in class frink.graphics.VoxelArray
Makes a cylinder with spherical end caps with the specified endpoints and radius.
makeTaperedCylinder(Point3DFloat, Point3DFloat, float, float) - Static method in class frink.graphics.VoxelArray
Makes a tapered cylinder with with the specified endpoints and radius.
makeTaperedCylinder(float, float, float, float, float, float, float, float) - Static method in class frink.graphics.VoxelArray
Makes a tapered cylinder with with the specified endpoints and radius.
makeTranslate(float, float, float) - Static method in class frink.graphics.CoordinateTransformer3DFloat
Build a translation matrix for translations along the major axes.
makeVerticalToLine(float, float, float, float, float, float, double) - Static method in class frink.graphics.CoordinateTransformer3DFloat
Makes a transform that will map an object rendered vertically (along the Z axis, probably based at the origin) to lay along a line from p1 (which is mapped from the origin) to p2.
makeVerticalToPlane(float, float, float, float, float, float, double) - Static method in class frink.graphics.CoordinateTransformer3DFloat
Makes a transform that will map an object rendered vertically (along the Z axis, probably based at the origin) to lay along a plane given a point on the plane (specified by (x,y,z)) and a normal to the plane (specified by (u,v,w)).
MarchingCubes - Class in frink.graphics
This class contains routines for finding a polygon surface mesh or "isosurface" for a scalar field.
MarchingCubes() - Constructor for class frink.graphics.MarchingCubes
 
maxX - Variable in class frink.graphics.BoundingBox2DFloat
The maximum X coordinate.
maxX - Variable in class frink.graphics.BoundingBox3DFloat
The maximum X coordinate.
maxY - Variable in class frink.graphics.BoundingBox2DFloat
The maximum Y coordinate.
maxY - Variable in class frink.graphics.BoundingBox3DFloat
The maximum Y coordinate.
maxZ - Variable in class frink.graphics.BoundingBox3DFloat
The maximum Z coordinate.
minX - Variable in class frink.graphics.BoundingBox2DFloat
The minimum X coordinate.
minX - Variable in class frink.graphics.BoundingBox3DFloat
The minimum X coordinate.
minY - Variable in class frink.graphics.BoundingBox2DFloat
The minimum Y coordinate.
minY - Variable in class frink.graphics.BoundingBox3DFloat
The minimum Y coordinate.
minZ - Variable in class frink.graphics.BoundingBox3DFloat
The minimum Z coordinate.
mod(double, double) - Method in class frink.graphics.VoxelArray
Define a modulus operator where x % y = x - y * floor[x/y] .
multiply(CoordinateTransformer3DFloat) - Method in class frink.graphics.CoordinateTransformer3DFloat
Multiplies this CoordinateTransformer3DFloat with another and returns the new transformation matrix.

N

nextClearBit(long) - Method in class frink.graphics.BiggerBitSet
Returns the index of the first bit that is set to false that occurs on or after the specified starting index.
nextSetBit(long) - Method in class frink.graphics.BiggerBitSet
Returns the index of the first bit that is set to true that occurs on or after the specified starting index.
nextSetBit(long, long) - Method in class frink.graphics.BiggerBitSet
Returns the index of the first bit that is set to true that occurs on or after the specified starting index and up to and including the specified word index If no such bit exists then -1 is returned.
normal - Variable in class frink.graphics.Plane3DFloat
The normalized normal vector.
normalize() - Method in class frink.graphics.Point3DFloat
Treats this point as a vector and normalizes it to have length 1, returning a new vector that is the normalized vector.
numberOfLeadingZerosInt(int) - Static method in class frink.graphics.BiggerBitSet
Returns the number of zero bits preceding the highest-order ("leftmost") one-bit in the two's complement binary representation of the specified int value.
numberOfLeadingZerosLong(long) - Static method in class frink.graphics.BiggerBitSet
Returns the number of zero bits preceding the highest-order ("leftmost") one-bit in the two's complement binary representation of the specified long value.
numberOfTrailingZerosInt(int) - Static method in class frink.graphics.BiggerBitSet
Returns the number of zero bits following the lowest-order ("rightmost") one-bit in the two's complement binary representation of the specified int value.
numberOfTrailingZerosLong(long) - Static method in class frink.graphics.BiggerBitSet
Returns the number of zero bits following the lowest-order ("rightmost") one-bit in the two's complement binary representation of the specified long value.

O

offX - Variable in class frink.graphics.VoxelArray
The offset of the x axis.
offY - Variable in class frink.graphics.VoxelArray
The offset of the y axis.
offZ - Variable in class frink.graphics.VoxelArray
The offset of the z axis.
or(BiggerBitSet) - Method in class frink.graphics.BiggerBitSet
Performs a logical OR of this bit set with the bit set argument.

P

p1 - Variable in class frink.graphics.LineSegment3DFloat
The endpoints of the line.
p2 - Variable in class frink.graphics.LineSegment3DFloat
The endpoints of the line.
paintAlongAllPoints(VoxelArray, VoxelArray, int, int, int) - Static method in class frink.graphics.VoxelArray
Moves a tool along *all* set points in a VoxelArray and returns a new VoxelArray of it.
paintAlongHull(VoxelArray, int, int, int, boolean) - Method in class frink.graphics.VoxelArray
Moves a tool along a path of integer points and returns a new VoxelArray of it, either adding to or removing points with the tool.
paintAlongLine(VoxelArray, int, int, int, int, int, int, int, int, int, boolean) - Method in class frink.graphics.VoxelArray
Modifies the pixels in this VoxelArray by moving the VoxelArray tool along a line and adding or removing the points in VoxelArray tool that are true, modifying this VoxelArray in place.
paintAlongPath(Point3DIntList, VoxelArray, int, int, int) - Static method in class frink.graphics.VoxelArray
Moves a tool along a path of integer points and returns a new VoxelArray of it.
planarEmboss(FrinkImage, float, float, float, float, int, int, float, float, float, float, VoxelArray, int, int, int) - Method in class frink.graphics.VoxelArray
Embosses an image using a planar mapping into the top of an object (that is, downward on the Z-axis.) A tool will be used to carve into the object.
Plane3DFloat - Class in frink.graphics
This represents a plane in 3-D.
Plane3DFloat(float, float, float, float) - Constructor for class frink.graphics.Plane3DFloat
Construct a Plane3DFloat using the coefficients A, B, C, D
Plane3DFloat(float, float, float, float, float, float) - Constructor for class frink.graphics.Plane3DFloat
Construct a Plane3DFloat using a point [x, y, z] and a normal direction A, B, C.
Plane3DFloat(Point3DFloat, Point3DFloat) - Constructor for class frink.graphics.Plane3DFloat
Construct a Plane3DFloat using a point p and a normal direction n.
Plane3DFloat(Point3DFloat, Point3DFloat, Point3DFloat) - Constructor for class frink.graphics.Plane3DFloat
Construct a Plane3DFloat from 3 points, listed in the counterclockwise direction as seen from outside the object.
Point2DFloat - Class in frink.graphics
This represents a point in 2 dimensions with each coordinate represented as a float.
Point2DFloat(float, float) - Constructor for class frink.graphics.Point2DFloat
Constructor.
Point2DFloatList - Class in frink.graphics
This is a list of Point2DFloat objects.
Point2DFloatList() - Constructor for class frink.graphics.Point2DFloatList
Construct a point list with no initial points.
Point2DFloatList.CentroidAndArea - Class in frink.graphics
This is a helper class that stores centroid and area (which share calculations and will be calculated together.
Point3DDouble - Class in frink.graphics
This is a simple data structure that represents a 3-D point or vector with the coordinates represented as double.
Point3DDouble(double, double, double) - Constructor for class frink.graphics.Point3DDouble
Construct a Point3DDouble with the specified coordinates.
Point3DDouble(Point3DInt) - Constructor for class frink.graphics.Point3DDouble
Construct a Point3DDouble from a Point3DInt
Point3DDouble(Point3DFloat) - Constructor for class frink.graphics.Point3DDouble
Construct a Point3DDouble from a Point3DFloat
Point3DFloat - Class in frink.graphics
This is a simple data structure that represents a 3-D point or vector with the coordinates represented as float.
Point3DFloat(float, float, float) - Constructor for class frink.graphics.Point3DFloat
Construct a Point3DFloat with the specified coordinates.
Point3DFloat(Point3DInt) - Constructor for class frink.graphics.Point3DFloat
Construct a Point3DFloat from a Point3DInt
Point3DInt - Class in frink.graphics
This is a simple data structure that represents a 3-D point with the coordinates represented as int.
Point3DInt(int, int, int) - Constructor for class frink.graphics.Point3DInt
Construct a Point3DInt with the specified coordinates.
Point3DIntList - Class in frink.graphics
This is a list of Point3DInt objects.
Point3DIntList() - Constructor for class frink.graphics.Point3DIntList
Construct a point list with no initial points.
pointAndNormal(float, float, float, float, float, float) - Static method in class frink.graphics.LineSegment3DFloat
Construct a line segment from a point and a normal vector (this function will normalize the normal.) The line segment will be of length 1.
pointAndNormal(float, float, float, float, float, float, float, float) - Static method in class frink.graphics.LineSegment3DFloat
Construct a line segment from a point and a normal vector (this function will normalize the normal.) The line segment will extend along the normal with the specified start and end distances d0 and d1 from the starting point.
points - Variable in class frink.graphics.Point2DFloatList
The vector of points
points - Variable in class frink.graphics.Point3DIntList
The vector of points
previousClearBit(long) - Method in class frink.graphics.BiggerBitSet
Returns the index of the nearest bit that is set to false that occurs on or before the specified starting index.
previousSetBit(long) - Method in class frink.graphics.BiggerBitSet
Returns the index of the nearest bit that is set to true that occurs on or before the specified starting index.
projectX(Environment) - Method in class frink.graphics.VoxelArray
Projects a silhouette image looking along the X axis.
projectY(Environment) - Method in class frink.graphics.VoxelArray
Projects a silhouette image looking along the Y axis.
projectZ(Environment) - Method in class frink.graphics.VoxelArray
Projects a silhouette image looking along the Z axis.

R

recalculateBoundingBox() - Method in class frink.graphics.Point2DFloatList
Recalculates the BoundingBox for this shape.
recalculateBoundingBox() - Method in class frink.graphics.Point3DIntList
Recalculates the BoundingBox for this shape.
recalculateFrom - Variable in class frink.graphics.Point2DFloatList
The index to start recalculating the bounding box from.
recalculateFrom - Variable in class frink.graphics.Point3DIntList
The index to start recalculating the bounding box from.
remove(VoxelArray) - Method in class frink.graphics.VoxelArray
Removes the pixels in this VoxelArray that are true in VoxelArray b, modifying this VoxelArray in place.
removeAlongLine(VoxelArray, int, int, int, int, int, int, int, int, int) - Method in class frink.graphics.VoxelArray
Removes the pixels in this VoxelArray by moving the VoxelArray b along a line and removing the points in VoxelArray b that are true, modifying this VoxelArray in place.
removeOutside(Plane3DFloat) - Method in class frink.graphics.VoxelArray
Removes all the voxels on the "outside" of a plane.
removeOutsideLine(float, float, float, float, float, float, float, int, int, int, int, int, int) - Method in class frink.graphics.VoxelArray
Removes the points outside of a specified distance (radius) from an infinite line.
removeOutsideSphere(float, float, float, float, int, int, int, int, int, int) - Method in class frink.graphics.VoxelArray
Removes all of the points outside a sphere.
rotate(float, float, float, float, float, float, double) - Method in class frink.graphics.VoxelArray
Rotates this VoxelArray around a line through a point (a, b, c) parallel to the vector [u,v,w] by the angle theta.
rotateAround(float, float, float, float, double) - Static method in class frink.graphics.Point2DFloat
Rotates a point (x,y) around another point (cx, cy) with angle theta (specified in radians).
rotateAround(float, float, double) - Method in class frink.graphics.Point2DFloat
Rotates this point around another point (cx, cy) with angle theta.
rotateAround(Point2DFloat, double) - Method in class frink.graphics.Point2DFloat
Rotates this point around another point (cx, cy) with angle theta.
rotateAround(float, float, double) - Method in class frink.graphics.Point2DFloatList
Creates a version of this polygon rotated around (cx, cy, by the specified angle).
rotateLeft(int, int) - Static method in class frink.graphics.Point3DInt
Integer.rotateLeft doesn't exist until Java 1.5, so we have to implement it.
rotateXYZ(float, float, float, double, double, double) - Method in class frink.graphics.VoxelArray
Performs three rotations around the point (a, b, c) by performing 3 successive rotations about the x, y, and z axes in that order.

S

sampleBoolean(int, int, int) - Method in class frink.graphics.VoxelArray
Sample the field at the specified 3-dimensional point and return its value as true or false.
sampleBoolean(Point3DInt) - Method in class frink.graphics.VoxelArray
Sample the field at the specified 3-dimensional point and return its value as true or false.
sampleFloat(float, float, float) - Method in interface frink.graphics.Field3DFloat
Sample the field at the specified 3-dimensional point and return its value.
sampleFloat(float, float, float) - Method in class frink.graphics.VoxelArray
Sample the field at the specified 3-dimensional point and return its value.
sampleFloat(Point3DFloat) - Method in class frink.graphics.VoxelArray
Sample the field at the specified 3-dimensional point and return its value.
scaleAround(float, float, float) - Method in class frink.graphics.BoundingBox2DFloat
Scales a BoundingBox2DFloat around a point [cx, cy] and returns a new bounding box that could contain its scaled area.
scaleAround(float, float, float, float, float) - Static method in class frink.graphics.Point2DFloat
Scales a point (x,y) around another point (cx, cy) with scale factor scale.
scaleAround(float, float, float) - Method in class frink.graphics.Point2DFloat
Scales this point around another point (cx, cy) with scale factor scale.
scaleAround(Point2DFloat, float) - Method in class frink.graphics.Point2DFloat
Scales this point around another point (cx, cy) with scale factor scale.
scaleAround(float, float, float) - Method in class frink.graphics.Point2DFloatList
Creates a version of this polygon scaled around (cx, cy).
set(long) - Method in class frink.graphics.BiggerBitSet
Sets the bit at the specified index to true.
set(long, boolean) - Method in class frink.graphics.BiggerBitSet
Sets the bit at the specified index to the specified value.
set(int, int, int, boolean) - Method in class frink.graphics.VoxelArray
Sets the voxel in the specific coordinate to the specific value.
set(Point3DInt, boolean) - Method in class frink.graphics.VoxelArray
Sets the voxel in the specific coordinate to the specific value.
setNoCheck(int, int, int, boolean) - Method in class frink.graphics.VoxelArray
Sets the specific coordinate to the specific value, doing no checking of the validity of the coordinates for speed.
setNoCheck(Point3DInt, boolean) - Method in class frink.graphics.VoxelArray
Sets the specific coordinate to the specific value.
setRange(long, long) - Method in class frink.graphics.BiggerBitSet
Sets the bits from the specified fromIndex (inclusive) to the specified toIndex (exclusive) to true.
setRange(long, long, boolean) - Method in class frink.graphics.BiggerBitSet
Sets the bits from the specified fromIndex (inclusive) to the specified toIndex (exclusive) to the specified value.
setRange(int, int, int, int, int, int, boolean) - Method in class frink.graphics.VoxelArray
Sets the values in the specified range to the certain value.
signedDistanceFloat(float, float, float) - Method in class frink.graphics.Plane3DFloat
Signed distance to plane from point.
signum(double) - Static method in class frink.graphics.Point3DFloat
Java didn't have java.lang.math.Signum until Java 1.5.
size() - Method in class frink.graphics.BiggerBitSet
Returns the number of bits of space actually in use by this BiggerBitSet to represent bit values.
sizeX - Variable in class frink.graphics.VoxelArray
The size of the x axis.
sizeY - Variable in class frink.graphics.VoxelArray
The size of the y axis.
sizeZ - Variable in class frink.graphics.VoxelArray
The size of the z axis.
softSignum(double) - Static method in class frink.graphics.CoordinateTransformer3DFloat
Returns a "soft" signum that is either -1 or 1 and never 0 because 0 wrecks some of these algorithms.
solidOfRotation(LineSegment3DFloat, double, double) - Method in class frink.graphics.VoxelArray
Creates a solid of rotation by rotating this VoxelArray around an axis specified by axis.
solidOfRotation(Point3DFloat, Point3DFloat, double, double) - Method in class frink.graphics.VoxelArray
Creates a solid of rotation by rotating this VoxelArray around an axis going through point (x,y,z) and the normal (u,v,w).
solidOfRotation(float, float, float, float, float, float, double, double) - Method in class frink.graphics.VoxelArray
Creates a solid of rotation by rotating this VoxelArray around an axis going through point (x,y,z) and the normal (u,v,w).
sphericalEmboss(FrinkImage, float, float, float, double, double, double, double, float, float, VoxelArray, int, int, int) - Method in class frink.graphics.VoxelArray
Embosses an image using a spherical mapping into the outer hull of an object.
sphericalEmboss(FrinkImage, float, float, float, double, double, double, double, int, int, float, float, float, float, VoxelArray, int, int, int) - Method in class frink.graphics.VoxelArray
Embosses an image using a spherical mapping into the outer hull of an object.
sphericalToXYZ(double, double, double, double, double, double, Point3DFloat) - Static method in class frink.graphics.Point3DFloat
Transforms spherical coordinates r, theta, phi into cartesian coordinates x, y, z.
sphericalToXYZ(Point3DDouble, Point3DFloat) - Static method in class frink.graphics.Point3DFloat
Transforms this point which represents its elements as spherical coordinates r, theta, phi into cartesian coordinates x, y, z.
STLFormatter - Class in frink.graphics
This class contains utilities to create STL (Stereolithography) files for modeling or 3D printing.
STLFormatter() - Constructor for class frink.graphics.STLFormatter
 
strokeZ(Point2DFloatList, VoxelArray, float, float, float, boolean) - Static method in class frink.graphics.VoxelArray
Extrudes the stroke of a polygon (using a the specified VoxelArray as a "tool") along the Z axis and returns a new VoxelArray of it.
strokeZ(Point2DFloatList, float, float, float, boolean) - Static method in class frink.graphics.VoxelArray
Extrudes the stroke of a polygon (using a cylindrical "pen") along the Z axis and returns a new VoxelArray of it.
strokeZTapered(Point2DFloatList, float, float, float, float, boolean) - Static method in class frink.graphics.VoxelArray
Extrudes the stroke of a polygon (using a tapered cylindrical "pen") along the Z axis and returns a new VoxelArray of it.
subtract(Point3DFloat) - Method in class frink.graphics.Point3DFloat
Constructs a new Point3DFloat where the components of p2 are subtracted from this point.
subtract(Point3DFloat, Point3DFloat) - Static method in class frink.graphics.Point3DFloat
Constructs a new Point3DFloat where the components are subtracted from each other.
subtractLength(Point3DFloat, Point3DFloat) - Static method in class frink.graphics.Point3DFloat
Returns the length of p1 - p2.

T

toAltAz() - Method in class frink.graphics.Point3DFloat
Converts this point represented as an X,Y,Z coordinate to a Point3DDouble indicating the coordinates in (r, alt, az).
toAltAz(Point3DDouble) - Method in class frink.graphics.Point3DFloat
Converts this point represented as an X,Y,Z coordinate to a Point3DDouble indicating the coordinates in (r, alt, az).
toAltAz(double, double, double) - Static method in class frink.graphics.Point3DFloat
Converts an X,Y,Z coordinate to a Point3DDouble indicating the coordinates in (r, alt, az).
toAltAz(double, double, double, double, double, double, Point3DDouble) - Static method in class frink.graphics.Point3DFloat
Converts an X,Y,Z coordinate to a Point3DDouble indicating the coordinates in (r, alt, az).
toCylindrical() - Method in class frink.graphics.Point3DFloat
Converts this point represented as an X,Y,Z coordinate to a Point3DDouble indicating the coordinates in (r, az, h).
toCylindrical(Point3DDouble) - Method in class frink.graphics.Point3DFloat
Converts this point represented as an X,Y,Z coordinate to a Point3DDouble indicating the coordinates in (r, az, h).
toCylindrical(double, double, double) - Static method in class frink.graphics.Point3DFloat
Converts an X,Y,Z coordinate to a Point3DDouble indicating the coordinates in (r, az, h).
toCylindrical(double, double, double, double, double, double, Point3DDouble) - Static method in class frink.graphics.Point3DFloat
Converts an X,Y,Z coordinate to a Point3DDouble indicating the coordinates in (r, az, h).
toExpression() - Method in class frink.graphics.Point2DFloat
Converts to a Frink expression as a ListExpression with [x,y] values.
toIndex(long, long, long) - Method in class frink.graphics.VoxelArray
Convert x,y,z coordinates to an index into the BiggerBitSet.
toIndexNoCheck(long, long, long) - Method in class frink.graphics.VoxelArray
Convert x,y,z coordinates to an index into the BiggerBitSet.
TOLERANCE - Static variable in class frink.graphics.CoordinateTransformer3DFloat
How close a float must be to a float to be "equal".
toObjFormat(String) - Method in class frink.graphics.VoxelArray
This triangulates the external hull of this object and returns it as a string in Wavefront .obj format that can be 3-D printed.
toObjFormat(String, float) - Method in class frink.graphics.VoxelArray
This triangulates the external hull of this object and returns it as a string in Wavefront .obj format that can be 3-D printed.
toObjFormat(Vector<Triangle3DFloat>, String) - Static method in class frink.graphics.WavefrontObj
This method turns a vector of Triangle3DFloat into a string representing a Wavefront obj file.
toObjFormat(Vector<Triangle3DFloat>, String, float) - Static method in class frink.graphics.WavefrontObj
This method turns a vector of Triangle3DFloat into a string representing a Wavefront obj file.
toObjFormatOld(Vector<Triangle3DFloat>, String, float) - Static method in class frink.graphics.WavefrontObj
Deprecated.
toSpherical() - Method in class frink.graphics.Point3DFloat
Converts this point represented as an X,Y,Z coordinate to a Point3DDouble indicating the coordinates in (r, theta, phi).
toSpherical(Point3DDouble) - Method in class frink.graphics.Point3DFloat
Converts this point represented as an X,Y,Z coordinate to a Point3DDouble indicating the coordinates in (r, theta, phi).
toSpherical(double, double, double) - Static method in class frink.graphics.Point3DFloat
Converts an X,Y,Z coordinate to a Point3DDouble indicating the coordinates in (r, theta, phi).
toSpherical(double, double, double, double, double, double, Point3DDouble) - Static method in class frink.graphics.Point3DFloat
Converts an X,Y,Z coordinate to a Point3DDouble indicating the coordinates in (r, theta, phi).
toSTLFormat(Vector<Triangle3DFloat>, String, float) - Static method in class frink.graphics.STLFormatter
This method turns a vector of Triangle3DFloat into a string representing a STL file.
toSTLFormat(Vector<Triangle3DFloat>, String) - Static method in class frink.graphics.STLFormatter
This method turns a vector of Triangle3DFloat into a string representing a STL file.
toSTLFormat(String) - Method in class frink.graphics.VoxelArray
This triangulates the external hull of this object and returns it as a string in STL format that can be 3-D printed.
toSTLFormat(String, float) - Method in class frink.graphics.VoxelArray
This triangulates the external hull of this object and returns it as a string in STL format that can be 3-D printed.
toString() - Method in class frink.graphics.BoundingBox2DFloat
Returns the bounding box as a human-readable string.
toString() - Method in class frink.graphics.BoundingBox3DFloat
Returns a String representation of this bounding box.
toString() - Method in class frink.graphics.CoordinateTransformer3DFloat
Formats the transformation matrix as a string.
toString() - Method in class frink.graphics.Plane3DFloat
Returns a String representation of this plane.
toString() - Method in class frink.graphics.Point3DDouble
Returns a String representation of this point.
toString() - Method in class frink.graphics.Point3DFloat
Returns a String representation of this point.
toString() - Method in class frink.graphics.Point3DInt
Returns a String representation of this point.
towardPoint(float, float, float, float, float, float, float, float) - Static method in class frink.graphics.LineSegment3DFloat
Makes a line segment from point 1 toward point 2.
transform(float, float, float, Point3DFloat) - Method in class frink.graphics.CoordinateTransformer3DFloat
Transform the coordinate (x, y, z) by this matrix.
transform(Point3DFloat, Point3DFloat) - Method in class frink.graphics.CoordinateTransformer3DFloat
Transform the coordinate (x, y, z) by this matrix.
transform(CoordinateTransformer3DFloat) - Method in class frink.graphics.VoxelArray
Transforms this VoxelArray (rotations, scalings, translations, etc.) using an arbitrary CoordinateTransformer3DFloat
translate(int, int, int) - Method in class frink.graphics.VoxelArray
Translates this whole object by the specified amounts on each axis.
Triangle3DFloat - Class in frink.graphics
This is a simple data structure that represents a 3-D triangle with the coordinates represented as Point3DFloat.
Triangle3DFloat(Point3DFloat, Point3DFloat, Point3DFloat) - Constructor for class frink.graphics.Triangle3DFloat
Construct a Trangle3D with the 3 specified points.
triangleConnection - Static variable in class frink.graphics.MarchingCubes
For each of the possible vertex states listed in cubeEdgeFlags there is a specific triangulation of the edge intersection points.
triangulateHull(float, float, int, float, float, int, float, float, int, Field3DFloat, float) - Static method in class frink.graphics.MarchingCubes
triangulateHull iterates over a Field3DFloat and returns a vector of triangles that represent its external hull, with the external hull being defined as the points that are greater than or equal to targetValue.
triangulateHull() - Method in class frink.graphics.VoxelArray
Triangulates the external hull of the voxels and returns a Vector of triangles that represent its external hull.
TWOPI - Static variable in class frink.graphics.VoxelArray
2 * pi

U

union(BoundingBox2DFloat, BoundingBox2DFloat) - Static method in class frink.graphics.BoundingBox2DFloat
Returns a new BoundingBox2DFloat which is the union of two bounding boxes.
union(BoundingBox3DFloat) - Method in class frink.graphics.BoundingBox3DFloat
Adds the bounds of the other BoundingBox to this box, modifying this in place.
union(BoundingBox3DFloat, BoundingBox3DFloat) - Static method in class frink.graphics.BoundingBox3DFloat
Returns a new BoundingBox3DFloat which is the union of two bounding boxes.
union(VoxelArray, VoxelArray) - Static method in class frink.graphics.VoxelArray
Returns the union of two VoxelArrays as a new VoxelArray that is just big enough to hold both of them.
union(VoxelArray) - Method in class frink.graphics.VoxelArray
Creates the union of this VoxelArray and another VoxelArray and returns a new VoxelArray that is just big enough to contain their union.

V

vertex - Variable in class frink.graphics.Triangle3DFloat
An array of 3 vertices.
vertexOffset - Static variable in class frink.graphics.MarchingCubes
vertexOffset lists the positions, relative to vertex0, of each of the 8 vertices of a cube.
volume() - Method in class frink.graphics.VoxelArray
Returns the volume of a VoxelArray in number of voxels.
VoxelArray - Class in frink.graphics
This is a 3-D Voxel array which can be used to generate 3-D graphics.
VoxelArray(int, int, int) - Constructor for class frink.graphics.VoxelArray
Construct a VoxelArray with the specified size on each axis and each element set to false.
VoxelArray(int, int, int, boolean) - Constructor for class frink.graphics.VoxelArray
Construct a VoxelArray with the specified size on each axis and each element set to the specified value.
VoxelArray(int, int, int, int, int, int, boolean) - Constructor for class frink.graphics.VoxelArray
Construct a VoxelArray with the specified minimum value and size on each axis and each element set to the specific value.
VoxelArray(VoxelArray) - Constructor for class frink.graphics.VoxelArray
Copy constructor.
VoxelArray(VoxelArray, boolean) - Constructor for class frink.graphics.VoxelArray
Copy the dimensions but set every voxel to the specified value.
voxels - Variable in class frink.graphics.VoxelArray
The BiggerBitSet that contains all of the bits.

W

WavefrontObj - Class in frink.graphics
This class contains utilities to create Wavefront .obj files for use in 3D modeling or 3D printing.
WavefrontObj() - Constructor for class frink.graphics.WavefrontObj
 
WORD_MASK - Static variable in class frink.graphics.BiggerBitSet
 
wordIndex(long) - Static method in class frink.graphics.BiggerBitSet
Given a bit index, return word index containing it.
words - Variable in class frink.graphics.BiggerBitSet
The internal field corresponding to the serialField "bits".

X

x - Variable in class frink.graphics.Point2DFloat
The x coordinate of the point.
x - Variable in class frink.graphics.Point3DDouble
The x coordinate.
x - Variable in class frink.graphics.Point3DFloat
The x coordinate.
x - Variable in class frink.graphics.Point3DInt
The x coordinate.
xor(BiggerBitSet) - Method in class frink.graphics.BiggerBitSet
Performs a logical XOR of this bit set with the bit set argument.

Y

y - Variable in class frink.graphics.Point2DFloat
The y coordinate of the point.
y - Variable in class frink.graphics.Point3DDouble
The y coordinate.
y - Variable in class frink.graphics.Point3DFloat
The y coordinate.
y - Variable in class frink.graphics.Point3DInt
The y coordinate.

Z

z - Variable in class frink.graphics.Point3DDouble
The z coordinate.
z - Variable in class frink.graphics.Point3DFloat
The z coordinate.
z - Variable in class frink.graphics.Point3DInt
The z coordinate.
A B C D E F G H I L M N O P R S T U V W X Y Z 
Skip navigation links