QUGaR 0.0.4
Loading...
Searching...
No Matches
point.hpp File Reference

Definition and implementation of Point class. More...

#include <qugar/types.hpp>
#include <qugar/vector.hpp>
#include <cstddef>
#include <vector>
Include dependency graph for point.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  qugar
 QUGaR's main namespace.
 

Typedefs

template<int dim, typename T = real>
using qugar::Point = Vector<T, dim>
 Class representing a dim-dimensional Point.
 

Functions

template<int dim>
void qugar::find_coincident_points (const std::vector< Point< dim > > &points, const Tolerance &tol, std::vector< std::size_t > &points_map)
 Finds coincident points in a given set of points.
 
template<int dim>
void qugar::make_points_unique (std::vector< Point< dim > > &points, const Tolerance &tol, std::vector< std::size_t > &old_to_new)
 Makes a given vector of points unique by merging coincident points.
 

Detailed Description

Definition and implementation of Point class.

Author
Pablo Antolin (pablo.nosp@m..ant.nosp@m.olin@.nosp@m.epfl.nosp@m..ch)
Date
2025-01-21