/// <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); }
/// <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); } }
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); }
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; }
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); }
/// <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); }
/// <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); }
/// <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); } }