Skip to content
This repository was archived by the owner on Oct 22, 2025. It is now read-only.

Commit 93b2766

Browse files
committed
Fix miss spelling in docs
1 parent e0622e9 commit 93b2766

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

python/src/tangent/closest_point.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ void define_closest_point(py::module_& m)
1616
return point_edge_closest_point(p, e0, e1);
1717
},
1818
R"ipc_Qu8mg5v7(
19-
Compute the baricentric coordinate of the closest point on the edge.
19+
Compute the barycentric coordinate of the closest point on the edge.
2020
2121
Parameters:
2222
p: Point

python/src/tangent/relative_velocity.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ void define_relative_velocity(py::module_& m)
151151
dt0: Velocity of the first vertex of the triangle
152152
dt1: Velocity of the second vertex of the triangle
153153
dt2: Velocity of the third vertex of the triangle
154-
coords: Baricentric coordinates of the closest point on the triangle
154+
coords: Barycentric coordinates of the closest point on the triangle
155155
156156
Returns:
157157
The relative velocity of the point to the triangle
@@ -166,7 +166,7 @@ void define_relative_velocity(py::module_& m)
166166
167167
Parameters:
168168
dim: Dimension (2 or 3)
169-
coords: Baricentric coordinates of the closest point on the triangle
169+
coords: Barycentric coordinates of the closest point on the triangle
170170
171171
Returns:
172172
The relative velocity matrix
@@ -181,7 +181,7 @@ void define_relative_velocity(py::module_& m)
181181
182182
Parameters:
183183
dim: Dimension (2 or 3)
184-
coords: Baricentric coordinates of the closest point on the triangle
184+
coords: Barycentric coordinates of the closest point on the triangle
185185
186186
Returns:
187187
The Jacobian of the relative velocity matrix

src/ipc/tangent/relative_velocity.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ Eigen::Vector3d point_triangle_relative_velocity(
104104

105105
/// @brief Compute the point-triangle relative velocity matrix.
106106
/// @param dim Dimension (2 or 3)
107-
/// @param coords Baricentric coordinates of the closest point on the triangle
107+
/// @param coords Barycentric coordinates of the closest point on the triangle
108108
/// @return The relative velocity matrix
109109
MatrixMax<double, 3, 12> point_triangle_relative_velocity_matrix(
110110
const int dim, Eigen::ConstRef<Eigen::Vector2d> coords);

0 commit comments

Comments
 (0)