Loading [MathJax]/extensions/tex2jax.js
ug4
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
duplicate.h File Reference
#include <vector>
#include "lib_grid/lg_base.h"
#include "selection_util.h"

Go to the source code of this file.

Namespaces

namespace  ug
 the ug namespace
 

Functions

template<class TAPos >
bool ug::Duplicate (Grid &grid, Selector &sel, const typename TAPos::ValueType &offset, TAPos &aPos, bool deselectOld=true, bool selectNew=true)
 Duplicates the selected part of a grid and translates it by an offset.