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(); } }
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); }
public void CalculateUpper(Point3d destPoint) { _upperSet = new SArrow(); _calculateSet(destPoint, _upperSet); }
public void CalculateLower(Point3d destPoint) { _lowerSet = new SArrow(); _calculateSet(destPoint, _lowerSet); }