Skip to content

Commit

Permalink
Fix doxygen error
Browse files Browse the repository at this point in the history
  • Loading branch information
pramsey committed May 30, 2024
1 parent 93e74e5 commit fce310f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions include/geos/geom/LineSegment.h
Original file line number Diff line number Diff line change
Expand Up @@ -246,10 +246,11 @@ class GEOS_DLL LineSegment {
return std::atan2(p1.y - p0.y, p1.x - p0.x);
};

/// Computes the midpoint of the segment
//
/// @param ret will be set to the midpoint of the segment
///
/** \brief
* Computes the midpoint of the segment
*
* @return the midpoint of the segment
*/
CoordinateXY midPoint() const
{
return midPoint(p0, p1);
Expand Down

0 comments on commit fce310f

Please # to comment.