예제 #1
0
        public bool VertexOnLine(OECPVertex vtx, ref OECPVertex projVtx)
        {
            var lst = new List <OECPLayer>();

            foreach (OECPLayer layer in Layers)
            {
                if (!layer.IsLine)
                {
                    continue;
                }
                if (!layer.IsVisible)
                {
                    continue;
                }
                lst.Add(layer);
            }
            return(CanvasUtil.VertexOnLine(vtx, lst, ref projVtx));
        }