/***************************************************/ public static Line Rotate(this Line curve, Point origin, Vector axis, double rad) { TransformMatrix rotationMatrix = Create.RotationMatrix(origin, axis, rad); return(Transform(curve, rotationMatrix)); }
/***************************************************/ public static Plane Rotate(this Plane plane, Point origin, Vector axis, double rad) { TransformMatrix rotationMatrix = Create.RotationMatrix(origin, axis, rad); return(Transform(plane, rotationMatrix)); }
/***************************************************/ /**** Public Methods - Others ****/ /***************************************************/ public static Mesh Rotate(this Mesh mesh, Point origin, Vector axis, double rad) { TransformMatrix rotationMatrix = Create.RotationMatrix(origin, axis, rad); return(Transform(mesh, rotationMatrix)); }
/***************************************************/ public static CompositeGeometry Rotate(this CompositeGeometry group, Point origin, Vector axis, double rad) { TransformMatrix rotationMatrix = Create.RotationMatrix(origin, axis, rad); return(Transform(group, rotationMatrix)); }
/***************************************************/ public static PolySurface Rotate(this PolySurface surface, Point origin, Vector axis, double rad) { TransformMatrix rotationMatrix = Create.RotationMatrix(origin, axis, rad); return(Transform(surface, rotationMatrix)); }