WebCAD-Lib-TS API 文档 - v1.0.0
    Preparing search index...

    Function rotatePointAroundCenter

    • 点绕中心旋转函数 将点绕指定中心点旋转指定角度

      Parameters

      • centerPoint: Point2D

        旋转中心点

      • pointToRotate: Point2D

        要旋转的点

      • rotationAngle: number

        旋转角度(弧度)

      Returns Point2D

      旋转后的点坐标