Momentum
A library for solving nonlinear optimization problems related to human body kinematics
Loading...
Searching...
No Matches
error_function_types.cpp
Go to the documentation of this file.
1/*
2 * Copyright (c) Meta Platforms, Inc. and affiliates.
3 *
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the root directory of this source tree.
6 */
7
9
10namespace momentum {
11
12std::string_view toString(VertexConstraintType type) {
13 switch (type) {
15 return "Position";
17 return "Plane";
19 return "Normal";
21 return "SymmetricNormal";
22 }
23 return "Unknown";
24}
25
26} // namespace momentum
Shared types used across error function hierarchies.
std::string_view toString(const LimitType type)
VertexConstraintType
Type of vertex constraint mode.