public static CoordinateSystem GetCoordSys(this JsCoordinateSystem coordinateSystem) { return(new CoordinateSystem { Origin = coordinateSystem._origin.GetPoint(), AxisX = coordinateSystem._x_axis.GetVector(), AxisY = coordinateSystem._y_axis.GetVector() }); }
public static TemporaryWorkplane FromJsPlane(JsCoordinateSystem coordinateSystem) { if (null == coordinateSystem) { return(null); } var teklaPlane = new TSM.TransformationPlane(coordinateSystem.GetCoordSys()); return(new TemporaryWorkplane(teklaPlane)); }