@Override protected GeoAngle createLineAngle(GeoLineND g, GeoLineND h) { GeoDirectionND orientation = ec.getView().getDirection(); if (g.isGeoElement3D() || h.isGeoElement3D()) { // at least one 3D geo if (orientation == ec.getKernel().getSpace()) { // space is default orientation for 3D objects return getManager3D().createLineAngle(g, h); } // use view orientation return getManager3D().createLineAngle(g, h, orientation); } // 2D geos if (orientation == ec.getKernel().getXOYPlane()) { // xOy plane is default orientation for 2D objects return super.createLineAngle(g, h); } // use view orientation return getManager3D().createLineAngle(g, h, orientation); }