protected override void InitializeProcessedSide()
        {
            GetSidesPositions(out PanelSectionPosition position, out PanelSectionPosition ndPosition);

            ImplicitFace face   = CreateProcessedSide(position);
            ImplicitFace ndFace = CreateProcessedSide(ndPosition);

            _sideFilterBox = face.Bounds();
            _sideFilterBox.Expand(0.0001);
            face.Width  += 2.0;
            face.Height += 2.0;

            _processedSide = new ImplicitNaryDifference3d()
            {
                A    = face,
                BSet = new List <BoundedImplicitFunction3d>()
            };

            _ndSideFilterBox = ndFace.Bounds();
            _ndSideFilterBox.Expand(0.0001);
            ndFace.Width  += 2.0;
            ndFace.Height += 2.0;

            _ndProcessedSide = new ImplicitNaryDifference3d()
            {
                A    = ndFace,
                BSet = new List <BoundedImplicitFunction3d>()
            };
        }
예제 #2
0
 protected static void AdaptFaceDimensions(ImplicitFace face, ref AxisAlignedBox3d sideFilterBox)
 {
     sideFilterBox = face.Bounds();
     sideFilterBox.Expand(0.0001);
     face.Width  += 2.0;
     face.Height += 2.0;
 }
        protected virtual void InitializeProcessedSide()
        {
            ImplicitFace face = CreateProcessedSide(Position);

            _sideFilterBox = face.Bounds();
            _sideFilterBox.Expand(0.0001);
            face.Width  += 2.0;
            face.Height += 2.0;

            _processedSide = new ImplicitNaryDifference3d()
            {
                A    = face,
                BSet = new List <BoundedImplicitFunction3d>()
            };
        }