Skip to main content

computeConeBoundingBox

computeConeBoundingBox(result, originX, originY, originZ, directionX, directionY, directionZ, angle, length)

NOTE: used stackoverflow answer as a basis for circle part: https://stackoverflow.com/questions/2592011/bounding-boxes-for-circle-and-arcs-in-3d

Kind: global function

ParamTypeDescription
resultArray.<number> | ArrayLike.<number> | Float32Array
originXnumber
originYnumber
originZnumber
directionXnumber
directionYnumber
directionZnumber
anglenumberin Radians
lengthnumber