private void CalculatePointsPlane(OrientedBox orientedBox, DecorPaintStrokeSurface decorPaintSurface)
 {
     _pointsPlane = decorPaintSurface.Plane;
     if (AllShortcutCombos.Instance.PlaceGuideBehindSurfacePlane.IsActive())
     {
         _pointsPlane = _pointsPlane.AdjustSoBoxSitsBehind(orientedBox);
     }
     else
     {
         _pointsPlane = _pointsPlane.AdjustSoBoxSitsInFront(orientedBox);
     }
 }
 private void CalculatePointsPlane(OrientedBox orientedBox, SnapSurface objectSnapSurface)
 {
     // Note: It is necessary to ensure that all projected points sit right below the oriented box in order
     //       to avoid situations in which the object hierarchy floats in the air or becomes embedded
     //       inside other objects. In order to do this, we adjust the surface plane such that the box
     //       sits right in front of it (or behind) depending on the settings.
     _pointsPlane = objectSnapSurface.Plane;
     if (AllShortcutCombos.Instance.PlaceGuideBehindSurfacePlane.IsActive())
     {
         _pointsPlane = _pointsPlane.AdjustSoBoxSitsBehind(orientedBox);
     }
     else
     {
         _pointsPlane = _pointsPlane.AdjustSoBoxSitsInFront(orientedBox);
     }
 }