예제 #1
0
        /// <summary>
        /// Tessellate Reference Point to render package for visualization.
        /// </summary>
        /// <param name="package"></param>
        /// <param name="tol"></param>
        /// <param name="gridLines"></param>
        void IGraphicItem.Tessellate(IRenderPackage package, double tol, int gridLines)
        {
            if (!IsAlive)
            {
                return;
            }

            package.PushPointVertex(X, Y, Z);
        }
예제 #2
0
        /// <summary>
        /// Tessellate Reference Point to render package for visualization.
        /// </summary>
        /// <param name="package"></param>
        /// <param name="tol"></param>
        /// <param name="gridLines"></param>
        void IGraphicItem.Tessellate(IRenderPackage package, double tol, int gridLines)
        {
            if (!IsAlive)
            {
                return;
            }

            if (this.InternalElement.IsValidObject)
            {
                package.PushPointVertex(X, Y, Z);
            }
        }
예제 #3
0
        internal override bool TessellateCore(IRenderPackage package)
        {
            if (base.TessellateCore(package))
            {
                return(true);
            }

            Color c = (this.Color == null) ? Color.Yellow : this.Color;

            package.PushPointVertex(this.X, this.Y, this.Z);
            package.PushPointVertexColor(c.RedValue, c.GreenValue, c.BlueValue, c.AlphaValue);
            return(true);
        }
예제 #4
0
        internal override bool TessellateCore(IRenderPackage package)
        {
            if (base.TessellateCore(package))
                return true;

            Color c = (this.Color == null) ? Color.Yellow : this.Color;
            package.PushPointVertex(this.X, this.Y, this.Z);
            package.PushPointVertexColor(c.RedValue, c.GreenValue, c.BlueValue, c.AlphaValue);
            return true;
        }
예제 #5
0
 public void Tessellate(IRenderPackage package, double tol = -1, int maxGridLines = 512)
 {
     // This example contains information to draw a point
     package.PushPointVertex(point.X, point.Y, point.Z);
     package.PushPointVertexColor(255, 0, 0, 255);
 }
예제 #6
0
 /// <summary>
 /// Tessellate Reference Point to render package for visualization.
 /// </summary>
 /// <param name="package"></param>
 /// <param name="tol"></param>
 void IGraphicItem.Tessellate(IRenderPackage package, double tol, int gridLines)
 {
     package.PushPointVertex(this.X, this.Y, this.Z);
 }
예제 #7
0
        /// <summary>
        /// Tessellate Reference Point to render package for visualization.
        /// </summary>
        /// <param name="package"></param>
        /// <param name="tol"></param>
        /// <param name="gridLines"></param>
        void IGraphicItem.Tessellate(IRenderPackage package, double tol, int gridLines)
        {
            if (!IsAlive)
                return;

            package.PushPointVertex(X, Y, Z);
        }
예제 #8
0
        /// <summary>
        /// Tessellate Reference Point to render package for visualization.
        /// </summary>
        /// <param name="package"></param>
        /// <param name="tol"></param>
        /// <param name="gridLines"></param>
        void IGraphicItem.Tessellate(IRenderPackage package, double tol, int gridLines)
        {
            if (!IsAlive)
                return;

            if (this.InternalElement.IsValidObject)
            {
                package.PushPointVertex(X, Y, Z);
            }
        }