s3d-fitting-commands
module with all available fitting commands (json) to communicate with the s3DFittingService (c++ websocket service)
Installation
npm install s3d-fitting-commands --save
Testing
npm test
Overview
/** * applyTransformation - generates the json request to apply a transformation * * @param * @param * @param * @return */ /** * bundleAdjustment - generates the json request to perform bundle adjustment * * @param * @param * @return */bundleAdjustment: function(points, id) /** * cardanToQuat - generates the json request to transform cardan rotation to quaternions * * @param * @param * @return */cardanToQuat: function(coords, id) /** * fitCircle3DTscheby - generates the json request to fit a 3D-circle * with Tschebyscheff approximation * * @param * @param * @return */fitCircle3DTscheby: function(points, id) /** * fitCircleL2 - generates the json request to fit circle * * @param * @param * @return */fitCircleL2: function(points, id) /** * fitCylinder - generates the json request to fit cylinder * * @param * @param * @return */fitCylinder: function(points, id) /** * fitPoint - generates the json request to fit point * * @param * @param * @return */fitLineL2: function(points, id) /** * fitLineRansac - generates the json request to fit a line * with RANSAC * * @param * @param * @param * @return */fitLineRansac: function(points, tolerance, id) /** * fitPlaneL2 - generates the json request to fit a plane * with Gauss approximation * * @param * @param * @return */fitPlaneL2: function(points, id) /** * fitPlaneRansac - generates the json request to fit a plane * with RANSAC * * @param * @param * @param * @return */fitPlaneRansac: function(points, tolerance, id) /** * fitPoint - generates the json request to fit point * * @param * @param * @return */ fitPoint: function(points, id) /** * invertTransformationParameters - generates the json request to invert transformation parameters * * @param * @param * @return */invertTransformationParameters: function(transformation, id) /** * quatToCardan - generates the json request to transform quaternions to cardan rotation * * @param * @param * @return */quatToCardan: function(coords, id) /** * registerPointsInPlane - generates the json request to register * points into a plane * * @param * @param * @param * @return */registerPointsInPlane: function(plane, points, id) /** * transformation3D6W - generates the json request to transform 3D coordinates * * @param * @param * @param * @return */transformation3D6W: function(startPoints, targetPoints, id)