public Vector3d VectorToNative(Vector vector) { return(new Vector3d( ScaleToNative(vector.x, vector.units), ScaleToNative(vector.y, vector.units), ScaleToNative(vector.z, vector.units))); }
// Plane public Plane PlaneToSpeckle(AC.Plane plane) { Vector xAxis = VectorToSpeckle(plane.GetCoordinateSystem().Xaxis); Vector yAxis = VectorToSpeckle(plane.GetCoordinateSystem().Yaxis); var _plane = new Plane(PointToSpeckle(plane.PointOnPlane), VectorToSpeckle(plane.Normal), xAxis, yAxis, ModelUnits); return(_plane); }