Loading [MathJax]/extensions/tex2jax.js
OGS
PartitionNodesByCoordinateMatch.h
Go to the documentation of this file.
1
12#pragma once
13
14#include <optional>
15#include <vector>
16
17namespace MeshLib
18{
19class Node;
20} // namespace MeshLib
21
22namespace GeoLib
23{
24class AABB;
25} // namespace GeoLib
26
27namespace MeshToolsLib
28{
30{
31 std::vector<MeshLib::Node*> paired_nodes;
32 std::optional<std::vector<std::size_t>> id_mapping;
33 std::optional<std::vector<MeshLib::Node*>> non_paired_nodes;
34};
35
58 std::vector<MeshLib::Node*> const& node_vector,
59 std::vector<MeshLib::Node*> const& tool_node_vector,
60 GeoLib::AABB const& aabb,
61 bool const return_non_paired_nodes = true);
62
63} // namespace MeshToolsLib
Class AABB is an axis aligned bounding box around a given set of geometric points of (template) type ...
Definition AABB.h:56
NodesPartitionResult partitionNodesByCoordinateMatch(std::vector< MeshLib::Node * > const &node_vector, std::vector< MeshLib::Node * > const &tool_node_vector, GeoLib::AABB const &aabb, bool const return_non_paired_nodes)
std::optional< std::vector< MeshLib::Node * > > non_paired_nodes
std::optional< std::vector< std::size_t > > id_mapping