![]() |
Microscopy Image Browser 2.91
MIB
|
CLIPLINE3D Clip a line with a box and return an edge. More...
Functions | |
function edge = | clipLine3d (line, box) |
CLIPLINE3D Clip a line with a box and return an edge. | |
CLIPLINE3D Clip a line with a box and return an edge.
function edge = clipLine3d | ( | line, | |
box ) |
CLIPLINE3D Clip a line with a box and return an edge.
EDGE = clipLine3d(LINE, BOX); Clips the line LINE with the bounds given in BOX, and returns the corresponding edge.
If the line lies totally outside of the box, returns a 1-by-6 row array containing only NaN's.
If LINE is a N-by-6 array, with one line by row, returns the clipped edge coresponding to each line in a N-by-6 array.
References intersectLinePlane(), and linePosition3d().
Referenced by clipEdge3d().