Merge pull request #401 from abdullahtahiriyo/parabola_2017

Parabola 2017
This commit is contained in:
wwmayer
2016-12-28 13:48:13 +01:00
committed by GitHub
29 changed files with 4493 additions and 265 deletions

View File

@@ -233,6 +233,18 @@ void SketcherValidation::on_findButton_clicked()
id.v = segm->getEndPoint();
vertexIds.push_back(id);
}
else if (g->getTypeId() == Part::GeomArcOfParabola::getClassTypeId()) {
const Part::GeomArcOfParabola *segm = dynamic_cast<const Part::GeomArcOfParabola*>(g);
VertexIds id;
id.GeoId = (int)i;
id.PosId = Sketcher::start;
id.v = segm->getStartPoint();
vertexIds.push_back(id);
id.GeoId = (int)i;
id.PosId = Sketcher::end;
id.v = segm->getEndPoint();
vertexIds.push_back(id);
}
}
std::set<ConstraintIds, Constraint_Less> coincidences;