Exemplo n.º 1
0
	bool is_in_on(const Point_<vt, Dim>& p) const{
		if (Dim >= 2) {
			return this->is_in_on(p.x(), p.y());
		} else if (Dim >= 3) {
			return this->is_in_on(p.x(), p.y(), p.z());
		} else {
			return false;
		}
	}
Exemplo n.º 2
0
bool operator==(const Point_<T>& p1, const Point_<U>& p2)
{
    return p1.x() == p2.x() && p1.y() == p2.y();
}