Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

Click here to view the latest version of this page.
PrevUpHomeNext

divide_point

Divides a point by another.

Description

The coordinates of the first point will be divided by those of the second point. The second point is not modified.

Synopsis

template<typename Point1, typename Point2>
void divide_point(Point1 & p1, Point2 const & p2)

Parameters

Type

Concept

Name

Description

Point1 &

p1

first point

Point2 const &

p2

second point

Header

Either

#include <boost/geometry/geometry.hpp>

Or

#include <boost/geometry/arithmetic/arithmetic.hpp>


PrevUpHomeNext