GeoMop / bgem

geometry and meshing tools
GNU General Public License v3.0
4 stars 3 forks source link

bgem.Transform aplicable for gmsh objects #61

Open jbrezmorf opened 1 year ago

jbrezmorf commented 1 year ago

use gmsh.model.occ.affineTransform

Apply a general affine transformation matrix affineTransform (16 entries of a 4x4 matrix, by row; only the 12 first can be provided for convenience) to the entities dimTags (given as a vector of (dim, tag) pairs) in the OpenCASCADE CAD representation.

Input:
dimTags (vector of pairs of integers), affineTransform (vector of doubles)