Modifier and Type | Method and Description |
---|---|
static LineSegment3DFloat |
LineSegment3DFloat.pointAndNormal(float x,
float y,
float z,
float nx,
float ny,
float nz)
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.
|
static LineSegment3DFloat |
LineSegment3DFloat.pointAndNormal(float x,
float y,
float z,
float nx,
float ny,
float nz,
float d0,
float d1)
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.
|
static LineSegment3DFloat |
LineSegment3DFloat.towardPoint(float x1,
float y1,
float z1,
float x2,
float y2,
float z2,
float d0,
float d1)
Makes a line segment from point 1 toward point 2.
|
Modifier and Type | Method and Description |
---|---|
Point3DInt |
VoxelArray.farthestSetPoint(LineSegment3DFloat line)
Returns the farthest set point from the specified (infinite) line.
|
static Point3DIntList |
LinePoints.line3DInt(LineSegment3DFloat line)
Creates a vector of Point3DInt consisting of the integer points on a
line between p1 and p2.
|
VoxelArray |
VoxelArray.solidOfRotation(LineSegment3DFloat axis,
double angle1,
double angle2)
Creates a solid of rotation by rotating this VoxelArray around
an axis specified by axis.
|