/// <summary> /// Adds a new stylized point to the display list. /// </summary> /// <param name="point">Point to add.</param> /// <param name="color">Color of point.</param> /// <param name="style">Display style of point.</param> /// <param name="radius">Radius of point widget.</param> public void AddPoint(Point3d point, Color color, PointStyle style, int radius) { if (m_disposed) { throw new ObjectDisposedException("This CustomDisplay instance has been disposed and cannot be modified"); } if (!point.IsValid) { return; } CDU_Point cdu = new CDU_Point(); cdu.m_point = point; cdu.m_color = Color.FromArgb(255, color); cdu.m_style = style; cdu.m_radius = radius; m_points.Add(cdu); m_clip.Union(point); }