예제 #1
0
        public static AvlNet.Point3D TransPoint3DToRealWorld(AvlNet.Point3D inPoint3D, Gocator.GocatorContext mContext)
        {
            float x = (float)(inPoint3D.X * mContext.XResolution + mContext.XOffset);
            float y = (float)(inPoint3D.Y * mContext.YResolution + mContext.YOffset);
            float z = (float)(inPoint3D.Z * mContext.ZResolution + mContext.ZOffset);

            return(new AvlNet.Point3D(x, y, z));
        }
예제 #2
0
 public static double CalcZGap(AvlNet.Point3D Top, AvlNet.Point3D Bottom, Gocator.GocatorContext gocatorContext)
 {
     return(Top.Z - Bottom.Z);
 }
예제 #3
0
 public static string Point3DToString(AvlNet.Point3D inPoint3D)
 {
     return($"X,{inPoint3D.X},Y,{inPoint3D.Y},Z,{inPoint3D.Z}");
 }