45 for (
size_t i=0; i<vertices.size(); i++)
48 G4Point3D p2= vertices[(i+1) % vertices.size()];
64 while (segments.size()>0)
68 for (G4CurveVector::iterator i=segments.begin(); i!=segments.end();)
72 i = segments.erase(i);
94 for (
size_t i=0; i<segments.size(); i++)
96 c = segments[i]->Project(tr);
100 while (newSegments.size()>0)
102 a = newSegments.back();
103 newSegments.pop_back();
104 for (G4CurveVector::iterator it=newSegments.begin();
105 it!=newSegments.end();)
109 it = newSegments.erase(it);
120 newSegments.push_back(c);
124 r->
Init(newSegments);
132 G4Exception(
"G4CompositeCurve::GetPMax()",
"GeomSolids0002",
139 G4Exception(
"G4CompositeCurve::GetPoint()",
"GeomSolids0002",
147 G4Exception(
"G4CompositeCurve::GetPPoint()",
"GeomSolids0002",
178 for (
size_t i=0; i<segments.size(); i++)
209 for (
size_t i=1; i<segments.size(); i++)
211 b= segments[i]->BBox();