示例#1
0
    protected bool IsNewSign(Geometry geometry, FormElement formElement)
    {
        if (formElement.count != 1)
        {
            return(false);
        }
        if (formElement.IsEmpty())
        {
            return(true);
        }

        string[] fields = formElement.fields;

        int id = geometry.SignVertex(fields[0]);

        return(id == -1);
    }