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

GeoShapeUtils - PolyBrepEnd points need to transform

parent f32e8dcd
No related branches found
No related tags found
1 merge request!291GeoShapeUtils - PolyBrepEnd points need to transform
...@@ -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.
Finish editing this message first!
Please register or to comment