/***************************************************/ public static Plane Scale(this Plane plane, Point origin, Vector scaleVector) { TransformMatrix scaleMatrix = Create.ScaleMatrix(origin, scaleVector); return(Transform(plane, scaleMatrix)); }
/***************************************************/ public static Line Scale(this Line curve, Point origin, Vector scaleVector) { TransformMatrix scaleMatrix = Create.ScaleMatrix(origin, scaleVector); return(Transform(curve, scaleMatrix)); }
/***************************************************/ public static CompositeGeometry Scale(this CompositeGeometry group, Point origin, Vector scaleVector) { TransformMatrix scaleMatrix = Create.ScaleMatrix(origin, scaleVector); return(Transform(group, scaleMatrix)); }
/***************************************************/ /**** Public Methods - Vectors ****/ /***************************************************/ public static Point Scale(this Point pt, Point origin, Vector scaleVector) { TransformMatrix scaleMatrix = Create.ScaleMatrix(origin, scaleVector); return(Transform(pt, scaleMatrix)); }
/***************************************************/ /**** Public Methods - Others ****/ /***************************************************/ public static Mesh Scale(this Mesh mesh, Point origin, Vector scaleVector) { TransformMatrix scaleMatrix = Create.ScaleMatrix(origin, scaleVector); return(Transform(mesh, scaleMatrix)); }
/***************************************************/ public static PolySurface Scale(this PolySurface surface, Point origin, Vector scaleVector) { TransformMatrix scaleMatrix = Create.ScaleMatrix(origin, scaleVector); return(Transform(surface, scaleMatrix)); }
/***************************************************/ /**** Public Methods - Surfaces ****/ /***************************************************/ public static Extrusion Scale(this Extrusion surface, Point origin, Vector scaleVector) { TransformMatrix scaleMatrix = Create.ScaleMatrix(origin, scaleVector); return(Transform(surface, scaleMatrix)); }
/***************************************************/ public static ICurve Scale(this Circle circle, Point origin, Vector scaleVector) { TransformMatrix scaleMatrix = Create.ScaleMatrix(origin, scaleVector); return(Transform(circle, scaleMatrix)); }
/***************************************************/ /**** Public Methods - Curves ****/ /***************************************************/ public static ICurve Scale(this Arc arc, Point origin, Vector scaleVector) { TransformMatrix scaleMatrix = Create.ScaleMatrix(origin, scaleVector); return(Transform(arc, scaleMatrix)); }