コード例 #1
0
ファイル: Point3D.cs プロジェクト: MichealWen/sharpmapv2
 /// <summary>
 /// Returns the negative of the object. Must not modify the object itself.
 /// </summary>
 /// <returns>The negative.</returns>
 IMatrixD INegatable <IMatrixD> .Negative()
 {
     return(new Point3D(_x.Negative(), _y.Negative(), _z.Negative()));
 }
コード例 #2
0
ファイル: Point2D.cs プロジェクト: ntj/GravurGIS
 public Point2D Negative()
 {
     return(new Point2D((Double)_x.Negative(), (Double)_y.Negative()));
 }