Implementation of error and warning functions.
- See Also
- error.h.
Definition in file error.c.
|
unsigned int | RCSline =0 |
| Number of the line currently parsed when reading a .cuik file. More...
|
|
unsigned int | RPNline =0 |
| Number of the line currently parsed when reading a .param file. More...
|
|
void Error |
( |
const char * |
s | ) |
|
General error function.
- Parameters
-
s | A string describing the error. |
Definition at line 80 of file error.c.
Referenced by AddBody2Mechanism(), AddBranchToAtlasRRT(), AddChart2AtlasRRT(), AddChart2Btree(), AddCtTrans2MEquation(), AddEdgeToRRT(), AddEquation(), AddEquation2Simplex(), AddEquationNoSimp(), AddJacobianEquations(), AddJacobianEquationsInt(), AddJoint2World(), AddLink2World(), AddMatrixEquation2CS(), AddNodeToRRT(), AddObstacle2World(), AddPatchTrans2MEquation(), AddPolyhedron2Vcollide(), AddSample2AtlasRRT(), AddScaledMonomial(), AddShape2Solid(), AddSimplifiedJacobianEquations(), AddStepToAtlasRRTstar(), AddTransSeq2MEquation(), AddVariable(), AddVarTrans2MEquation(), AddVarTrans2TransSeq(), AdjustBioWorldGeometry(), AnimateWorld(), ApplyLinkRot(), ApplyLinkRotFLinks(), ApplyLinkRotLinks(), ApplyLinkRotQLinks(), AtlasAStar(), AtlasBiRRTstar(), AtlasGBF(), AtlasRRT(), AtlasRRTSample(), AtlasRRTstar(), AtlasTRRT(), Atoms2Transforms(), BiRRTstar(), BoundaryPointFromExternalCorner(), BoundaryPointsFromExternalCorners(), Box2Buffer(), BoxesIntersection(), BoxUnion(), Buffer2Box(), BuildAtlasFromPoint(), CacheRotVars(), cBiRRT(), ccRRT(), ccTRRT(), ChangeParameter(), Chart2Manifold(), CheckAllCollisions(), CheckCollision(), CheckHeap(), CheckLinkLinkCollision(), CheckLinkObstacleCollision(), CheckSelfCollisions(), CompareTangentSpaces(), ComputeEnergy(), ComputeSplitDim(), ComputeSplitDimInt(), ConnectSamplesChart(), CreateFileName(), CropEquation(), CSRemoveLCVars(), CSRemoveVarsWithCtRange(), CtScaleEquation(), CuikNewtonInBox(), CuikNewtonSimp(), DefineChartsAtBifurcation(), DefineNormalVector(), DefinePQPModel(), DeleteCD(), DeriveMEquation(), DeriveTransSeq(), DeriveVarSet(), DetectLinksAndJointsFromResidues(), DetectLinksAndJointsFromRigidsAndHinges(), DetermineChartNeighbour(), DetermineChartNeighbours(), DummifyAndAddEquation(), EnlargeChart(), EquationFromLinearConstraint(), EquationFromLinearConstraintProduct(), ErrorDueToVariable(), ErrorInInequalities(), ErrorInSimpCSEquations(), ErrorInSimpInequalitiesOnPoint(), ErrorInSolution(), EvaluateEqMin(), EvaluateEquation(), EvaluateEquationInt(), EvaluateEquationsXVectors(), EvaluateSimpCSEquations(), EvaluateSubSetSimpCSEquations(), EvaluateTransSeq(), EvaluateVarSet(), EvaluateVarSetInt(), EvaluateVectorsPATrans(), EvaluateWholeEquation(), EvaluateWorldCost(), EvaluateWorldJacobian(), ExpandibleChart(), ExtendAtlasFromPoint(), ExtendAtlasTowardPoint(), ExtractFirst(), ExtractLast(), ExtractMinElement(), ExtractVectorElement(), FindPointInOtherBranch(), FindRightNullVector(), FindSingularPoint(), FixVariableInVarSet(), FocusedPointOnBoundary(), GaussianElimination(), GenerateCylinderOFF(), GenerateJointEquations(), GenerateJointEquationsInBranch(), GenerateJointRangeEquations(), GenerateJointRangeSingularityEquations(), GenerateJointSolution(), GenerateLinkRot(), GenerateLinkSolution(), GenerateScaledParabolaEquation(), GenerateScaledSaddleEquation(), GenerateSimpInitialBox(), GenerateSimplifiedPoint(), GenerateSphereOFF(), GenerateTransEquationsFromBranch(), GenerateWorldEquations(), GenerateWorldSingularityEquations(), GenerateWorldTWSEquations(), GetBoxCenterDistance(), GetBoxInterval(), GetBranchStep(), GetChartDegree(), GetChartSamplingRadius(), GetConstantValue(), GetCSEquation(), GetElementFromTransSeq(), GetEquation(), GetEquationBounds(), GetEquationTypeN(), GetEqVectorElement(), GetFirstOrderApproximationToEquation(), GetJacobianColumn(), GetJacobianEquation(), GetJointDOF(), GetJointDOFValues(), GetJointLength(), GetJointName(), GetJointRangeN(), GetJointRangeTopology(), GetJointTransform(), GetJointTransSeq(), GetLinearConstraintCoefficient(), GetLinearConstraintVariable(), GetLinkPoseSimpVars(), GetLinkTransformsFromSolutionPoint(), GetMoleculeBasicInfo(), GetObstacleColor(), GetParameter(), GetPolyhedronCenter(), GetPolyhedronDefiningPoint(), GetPolyhedronRadius(), GetPolyhedronVertex(), GetPolytopeNeighboursFromVertices(), GetRRTNNInBranch(), GetSampleDistance(), GetSampleValue(), GetSCpSystem(), GetSimpCSJacobian(), GetSimpCSTopology(), GetTransform2Link(), GetVariable(), GetVariableFunctionN(), GetVariableN(), GetVariablePowerN(), GetVariableTypeN(), GetWorldDOFLabel(), GetWorldInitialBox(), GetWorldJacobian(), GetWorldJointLabel(), GetWorldNumSystemVariables(), GetWorldNumVariables(), GetWorldRangeDOF(), GetWorldSimpInitialBox(), GetWorldSimpJacobian(), GetWorldSimpTopology(), GetWorldSimpVariableMask(), GetWorldSystemVars(), GetWorldVarNames(), HTransformAcumRot(), HTransformCreate(), HTransformGetElement(), HTransformSetElement(), HTransformX2Vect(), IncrementalSampleCuikSystem(), IncrementalSampleCuikSystemInBox(), InitAtlasFromPoint(), InitAtlasHeapElement(), InitAtlasRRT(), InitCD(), InitChartInt(), InitJacobian(), InitJoint(), InitParametersFromFile(), InitPatchTrans(), InitPlot3d(), InitPolyhedronFromFile(), InitRRT(), InitVarTrans(), InitWorldCD(), InitWorldFromMolecule(), InitWorldKinCS(), IntersectChartsInt(), IntervalAtan2(), IsCoordEquation(), IsDummyEquation(), IsSystemEquation(), IsSystemVarInSimpCS(), IsWorldPolynomial(), Line2Points(), LinkChart(), LoadAtlas(), LoadAtlasRRT(), LoadCSState(), LoadRRT(), LoadSamples(), main(), MaxReduction(), MaxWorldReduction(), MinCosinusBetweenCharts(), MinimizeOnAtlas(), MoveVectorElement(), MoveWorld(), MoveWorldDOF(), MPI_SolveCuikSystem(), MPI_TreatBox(), NewBox(), NewInPatchJoint(), NewPrismaticJoint(), NewRevoluteJoint(), NewSphericalJoint(), NewSphPrsSphJoint(), NewSuccesfulExperiment(), Newton2ManifoldPlane(), NewtonInWorld(), NewUniversalJoint(), NoCheckAllCollisions(), NoCheckLinkLinkCollision(), NoCheckLinkObstacleCollision(), NoCheckSelfCollisions(), Normalize(), on_cuikexplore_save(), on_cuikmove_save(), Plane3Points(), Plot3dObject(), Plot3dObjectWithColor(), Plot3dObjectWithColors(), PlotBox3d(), PlotChart(), PlotChartAsBox(), PlotChartAsPolygon(), PlotCylinder(), PlotLine(), PlotSegments(), PlotSphere(), PlotTriangle3d(), PlotVect3d(), PlotWorld(), PointInBox(), PointInBoxTopology(), PointInSystemBox(), PolytopeBoundaryPointFromExternalCornerInt(), PolytopeCenter(), PrintCollisionInfo(), PrintEquation(), PrintJoint(), PrintJointAxes(), PrintParameters(), PrintPolyhedron(), PrintTransSeq(), PrintVariables(), PrintVarSet(), PrintWorld(), PrintWorldAxes(), PrintWorldCS(), ProductEquations(), ReadBox(), Readcuiksystemerror(), ReadcuiksystemSemanticError(), ReadGeneralMesh(), ReadMolecule(), ReadOFF(), ReadOneSample(), ReadParameterserror(), ReadResidueList(), ReadRigidsAndHinges(), ReadSTL(), ReadTwoSamples(), ReadWorlderror(), RecursiveReWireRRTstar(), ReduceBox(), ReduceRange(), RegenerateLinkBox(), RegenerateLinkSolution(), RegenerateOriginalBox(), RegenerateOriginalPoint(), RegenerateSolutionPoint(), RegenerateWorldOriginalPoint(), RegenerateWorldSolutionPoint(), RemoveEquationsWithVar(), ReplaceVariableInEquation(), ReplaceVariableInEquations(), ReplaceVariableInVarSet(), ResetMEquation(), ReWireRRTstar(), RewriteEquation2Orig(), RewriteEquation2Simp(), RRTstar(), SampleCuikSystem(), SampleCuikSystemInBox(), SaveAtlas(), SaveAtlasRRT(), SaveChartCenters(), SaveCSState(), SavePolyhedron(), SaveRRT(), SaveRRTCosts(), SaveRRTNodes(), SaveSamplesInt(), SaveSingularCharts(), SegmentCircleIntersection(), SegmentSphereIntersection(), SetAtlasTopology(), SetBoxInterval(), SetCSSearchMode(), SetEquationCmp(), SetEquationInfo(), SetOriginalVarRelation(), SetParameter(), SetRotVars(), SetRRTCostAndParent(), SetRRTNodeCost(), SetRRTNodeInfo(), SetRRTParent(), SetRRTTopology(), SetTranslationMEquation(), SetVariableTopology(), ShiftVariablesInTransSeq(), ShiftVarIndexes(), SHTransformGetElement(), SimpInequalitiesHoldOnPoint(), SimplexAddNewConstraintRaw(), SimplexCreate(), SimplexSetRowBounds(), SimplifyMEquation(), SmoothSamples(), SolidCorrection(), SolveCuikSystem(), SplitBox(), StoreCollisionInfo(), SwapVectorElements(), TriangulateAtlas(), UpdateBiRRTSteps(), UpdateCuikSystem(), UpdateHeapElement(), UpdateSplitWeight(), UpdateTree(), UpdateUsedDOF(), VarScaleEquation(), VerifyCuikSystem(), WireAtlasRRTstar(), WireRRTstar(), WorldAtomJacobian(), WorldDOF2Sol(), WorldErrorInEquations(), WorldErrorInSimpEquations(), WorldErrorInSimpInequalities(), WorldEvaluateEquations(), WorldEvaluateSimpEquations(), WorldEvaluateSubSetSimpEquations(), WorldGenerateSimplifiedPoint(), WorldInequalitiesHold(), WorldInitDOFInfo(), WorldSample2DOF(), WorldSimpInequalitiesHold(), WriteMolecule(), and WrongCorner().
int Readcuiksystemerror |
( |
const char * |
s | ) |
|
This function is called by the .cuik file parser when encountering syntax errors.
- Parameters
-
s | A string generated by Bison (Normally it contains "Syntax Error"). |
- Returns
- EXIT_FAILURE.
Definition at line 88 of file error.c.
References Error(), and RCSline.
int ReadParameterserror |
( |
const char * |
s | ) |
|
This function is called by the .param file parser when encountering syntax errors.
- Parameters
-
s | A string generated by Bison (Normally it contains "Syntax Error"). |
- Returns
- EXIT_FAILURE.
Definition at line 98 of file error.c.
References Error(), and RPNline.
void ReadcuiksystemSemanticError |
( |
const char * |
s | ) |
|
This function is called by the .cuik file parser when it encountrs a semantic error.
- Parameters
-
s | A string describing the error. |
- Returns
- EXIT_FAILURE.
Definition at line 108 of file error.c.
References Error(), and RCSline.
void Warning |
( |
const char * |
s | ) |
|
General warning function.
- Parameters
-
s | A string describing the warning. |
Definition at line 116 of file error.c.
Referenced by AddBranchToAtlasRRT(), AtlasAStar(), AtlasGBF(), cBiRRT(), ccRRT(), ccTRRT(), ComputeSplitDimInt(), DefineChartsAtBifurcation(), InitAtlasFromPoint(), InitParametersFromFile(), main(), MinimizeOnAtlas(), MoveWorld(), NewTemptativeSample(), on_cuikmove_save(), PlotChartAsPolygon(), PolytopeBoundaryPointFromExternalCornerInt(), PostProcessNewCharts(), ReconstructAtlasPath(), ReconstructAtlasRRTPath(), SetParameter(), Steps2PathinAtlasRRT(), Steps2PathinRRT(), WorldPrintAtoms(), and WorldStoreRigidGroups().
|
Follow us!