コード例 #1
0
    public override string ToString()
    {
        string ret = m00.ToString() + ",\t" + m01.ToString() + ",\t" + m02.ToString() + ",\t" + m03.ToString() + "\n";

        ret += m10.ToString() + ",\t" + m11.ToString() + ",\t" + m12.ToString() + ",\t" + m13.ToString() + "\n";
        ret += m20.ToString() + ",\t" + m21.ToString() + ",\t" + m22.ToString() + ",\t" + m23.ToString() + "\n";
        ret += m30.ToString() + ",\t" + m31.ToString() + ",\t" + m32.ToString() + ",\t" + m33.ToString() + "\n";
        return(ret);
    }
コード例 #2
0
 public override string ToString()
 {
     return("(" + x.ToString() + "," + y.ToString() + ")");
 }