コード例 #1
0
ファイル: BasePoint.cs プロジェクト: shahjahan0275/acad2fds
 /// <summary>
 /// Compares probe to basis
 /// </summary>
 /// <param name="probe">Probe to be compared</param>
 /// <returns>True if probe LOWER than basis by all coordinates</returns>
 public bool IsLower(BasePoint probe)
 {
     return(probe.X < X && probe.Y < Y && probe.Z < Z);
 }
コード例 #2
0
ファイル: BasePoint.cs プロジェクト: shahjahan0275/acad2fds
 /// <summary>
 /// Compares probe to basis
 /// </summary>
 /// <param name="probe">Probe to be compared</param>
 /// <returns>True if probe GREATER than basis by all coordinates</returns>
 public bool IsGreater(BasePoint probe)
 {
     return(probe.X > X && probe.Y > Y && probe.Z > Z);
 }
コード例 #3
0
ファイル: BasePoint.cs プロジェクト: shahjahan0275/acad2fds
 /// <summary>
 /// Provides Acad point from Base point
 /// </summary>
 /// <param name="basePoint">Base point</param>
 /// <returns>Acad point</returns>
 public static Point3d ConverToAcadPoint(BasePoint basePoint)
 {
     return(new Point3d(basePoint.X, basePoint.Y, basePoint.Z));
 }