Skip to content
Snippets Groups Projects
Commit edb5b293 authored by Johannes Junggeburth's avatar Johannes Junggeburth :dog2:
Browse files

Merge branch 'GeoShapeEdgePolyBrep' into 'main'

GeoShapeUtils - PolyBrepEnd points need to transform

See merge request !291
parents f32e8dcd 3c519f1b
No related branches found
No related tags found
1 merge request!291GeoShapeUtils - PolyBrepEnd points need to transform
Pipeline #6971105 failed
...@@ -206,9 +206,9 @@ std::vector<GeoTrf::Vector3D> getPolyShapeEdges(const GeoShape* shape, ...@@ -206,9 +206,9 @@ std::vector<GeoTrf::Vector3D> getPolyShapeEdges(const GeoShape* shape,
edgePoints.reserve(2* brep->getNVertices()); edgePoints.reserve(2* brep->getNVertices());
for (double sZ: {-1., 1.}) { for (double sZ: {-1., 1.}) {
for (unsigned int vtx = 0 ; vtx < brep->getNVertices(); ++vtx){ for (unsigned int vtx = 0 ; vtx < brep->getNVertices(); ++vtx){
edgePoints.emplace_back(brep->getXVertex(vtx), edgePoints.emplace_back(refTrf * GeoTrf::Vector3D{brep->getXVertex(vtx),
brep->getYVertex(vtx), brep->getYVertex(vtx),
sZ * brep->getDZ()); sZ * brep->getDZ()});
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment