setImpl(new Handle(AIS_InteractiveObject)(aPerpendicular));
} else {
- Handle(PrsDim_PerpendicularRelation) aPerpendicular = Handle(PrsDim_PerpendicularRelation)::DownCast(
- anAIS);
+ Handle(PrsDim_PerpendicularRelation) aPerpendicular =
+ Handle(PrsDim_PerpendicularRelation)::DownCast(anAIS);
if (!aPerpendicular.IsNull()) {
aPerpendicular->SetFirstShape(theLine1->impl<TopoDS_Shape>());
aPerpendicular->SetSecondShape(theLine2->impl<TopoDS_Shape>());