Table of Contents

Method RotateBy

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

RotateBy(double, GeoPoint2)

Rotates the rectangle around a center point by an angle in radians (counter-clockwise).

public GeoRectangle2 RotateBy(double angleRad, GeoPoint2 center)

Parameters

angleRad double

Rotation angle in radians.

center GeoPoint2

Center of rotation.

Returns

GeoRectangle2

A new rotated GeoRectangle2.