Exemple #1
0
            private void _calculateSet(Point3d destPoint, SArrow arrowSet)
            {
                Vector3d vector = destPoint - Point3d.Origin;

                if (vector.X < 0d && !arrowSet.IsHorizontalMirrored)
                {
                    arrowSet.MirrorHorizontalArrow();
                }
                if (vector.Y < 0d && !arrowSet.IsVerticalMirrored)
                {
                    arrowSet.MirrorVerticalArrow();
                }
            }
Exemple #2
0
                private DBText _createHorizontalText(SArrow arrow)
                {
                    DBText text = new DBText();

                    text.SetDatabaseDefaults();

                    text.Height         = 2.0d;
                    text.HorizontalMode = TextHorizontalMode.TextCenter;
                    text.VerticalMode   = TextVerticalMode.TextBase;
                    text.TextString     = "";
                    text.Position       = Point3d.Origin;

                    return(text);
                }
Exemple #3
0
 public void CalculateUpper(Point3d destPoint)
 {
     _upperSet = new SArrow();
     _calculateSet(destPoint, _upperSet);
 }
Exemple #4
0
 public void CalculateLower(Point3d destPoint)
 {
     _lowerSet = new SArrow();
     _calculateSet(destPoint, _lowerSet);
 }