Пример #1
0
        public static Point ToRhino(this NXOpen.Point point)
        {
            var rhino = RawDecoder.ToRhino(point);

            UnitConverter.Scale(rhino, UnitConverter.NXToRhinoUnitsRatio);
            return(rhino);
        }
Пример #2
0
        public static Vector3d ToRhino(this NXOpen.Vector3d value)
        {
            Vector3d rhino = RawDecoder.ToRhino(value);

            UnitConverter.Scale(ref rhino, UnitConverter.NXToRhinoUnitsRatio);
            return(rhino);
        }
Пример #3
0
        public static Plane ToRhino(this NXOpen.Plane value)
        {
            var rhino = RawDecoder.ToRhino(value);

            UnitConverter.Scale(ref rhino, UnitConverter.NXToRhinoUnitsRatio);
            return(rhino);
        }