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