Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenFlipper-Free
OpenFlipper-Free
Commits
4a3e3f45
Commit
4a3e3f45
authored
Oct 22, 2015
by
Jan Möbius
Browse files
Fixed Documentation of this branch
parent
74c6a1cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
ACG/Geometry/Algorithms.hh
View file @
4a3e3f45
...
...
@@ -309,7 +309,15 @@ distPointTriangleSquared( const Vec& _p,
Vec
&
_nearestPoint
);
/** \brief squared distance from point _p to triangle (_v0, _v1, _v2)
* In the stable version the distance to the longest edge is returned if the triangle is degenerate.
*
* In the stable version the distance to the longest edge
* is returned if the triangle is degenerate.
*
* @param _p point to test against triangle
* @param _v0 First point of trianlge
* @param _v1 Second point of trianlge
* @param _v2 Third point of trianlge
* @return Computed distance
*/
template
<
class
Vec
>
typename
Vec
::
value_type
...
...
@@ -330,7 +338,14 @@ distPointTriangle( const Vec& _p,
{
return
sqrt
(
distPointTriangleSquared
(
_p
,
_v0
,
_v1
,
_v2
,
_nearestPoint
));
}
/** \brief distance from point _p to triangle (_v0, _v1, _v2)
* In the stable version the distance to the longest edge is returned if the triangle is degenerate.
*
* In the stable version the distance to the longest edge
* is returned if the triangle is degenerate.
*
* @param _v0 First point of trianlge
* @param _v1 Second point of trianlge
* @param _v2 Third point of trianlge
* @return Computed distance
*/
template
<
class
Vec
>
typename
Vec
::
value_type
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment