Exemplo n.º 1
0
    public override FormInput Title()
    {
        FormElement formElement = new FormElement(2);

        formElement.fields[0] = geometry.VertexSign(condition.edge.id1);
        formElement.fields[1] = geometry.VertexSign(condition.edge.id2);

        FormInput formInput = new FormInput(3);

        formInput.inputs[0] = formElement;
        formInput.inputs[1] = new FormText("=");
        formInput.inputs[2] = new FormNum(condition.length);

        return(formInput);
    }
Exemplo n.º 2
0
    public override FormInput Title()
    {
        FormElement formElement = new FormElement(3);

        formElement.fields[0] = geometry.VertexSign(condition.corner.id1);
        formElement.fields[1] = geometry.VertexSign(condition.corner.id2);
        formElement.fields[2] = geometry.VertexSign(condition.corner.id3);

        FormInput formInput = new FormInput(5);

        formInput.inputs[0] = new FormText("∠");
        formInput.inputs[1] = formElement;
        formInput.inputs[2] = new FormText("=");
        formInput.inputs[3] = new FormNum(condition.angle);
        formInput.inputs[4] = new FormText("°");

        return(formInput);
    }
Exemplo n.º 3
0
    public override FormInput Title()
    {
        FormElement formElement1 = new FormElement(1);

        formElement1.fields[0] = geometry.VertexSign(TriPyramid.TOP_S);

        FormElement formElement2 = new FormElement(3);

        formElement2.fields[0] = geometry.VertexSign(TriPyramid.BOTTOM_A);
        formElement2.fields[1] = geometry.VertexSign(TriPyramid.BOTTOM_B);
        formElement2.fields[2] = geometry.VertexSign(TriPyramid.BOTTOM_C);

        FormInput formInput = new FormInput(3);

        formInput.inputs[0] = formElement1;
        formInput.inputs[1] = new FormText("-");
        formInput.inputs[2] = formElement2;

        return(formInput);
    }
Exemplo n.º 4
0
    public override FormInput Title()
    {
        string sign1 = geometry.VertexSign(condition.corner.id1);
        string sign2 = geometry.VertexSign(condition.corner.id2);
        string sign3 = geometry.VertexSign(condition.corner.id3);

        FormElement formElement1 = new FormElement(2);

        formElement1.fields[0] = sign2;
        formElement1.fields[1] = sign1;

        FormElement formElement2 = new FormElement(2);

        formElement2.fields[0] = sign2;
        formElement2.fields[1] = sign3;

        FormInput formInput = new FormInput(3);

        formInput.inputs[0] = formElement1;
        formInput.inputs[1] = new FormText("⊥");
        formInput.inputs[2] = formElement2;

        return(formInput);
    }