~sharpie/geos/3.3.2

« back to all changes in this revision

Viewing changes to source/headers/geos/geom/LineSegment.inl

  • Committer: Bazaar Package Importer
  • Author(s): Fabio Tranchitella
  • Date: 2009-03-27 15:54:54 UTC
  • mfrom: (1.2.1 upstream) (5.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20090327155454-o3u9j86rzrtcp5vl
Tags: 3.1.0-1
* New upstream release.
* This version includes also a missing header inclusion, which caused FTBFS
  on armel. (Closes: #520447)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/**********************************************************************
2
 
 * $Id: LineSegment.inl 1820 2006-09-06 16:54:23Z mloskot $
 
2
 * $Id: LineSegment.inl 2131 2008-07-15 22:04:51Z mloskot $
3
3
 *
4
4
 * GEOS - Geometry Engine Open Source
5
5
 * http://geos.refractions.net
140
140
INLINE double
141
141
LineSegment::angle() const
142
142
{
143
 
        return atan2(p1.y-p0.y,p1.x-p0.x);
 
143
        return std::atan2(p1.y-p0.y,p1.x-p0.x);
144
144
}
145
145
 
146
146
INLINE std::ostream&