Create a new fixed-point circle 创建新的定点圆形
Center point of the circle
Radius of the circle
Get the X coordinate of the center 获取中心点的X坐标
Get the Y coordinate of the center 获取中心点的Y坐标
Get the angle from the center to the given point 获取从中心到给定点的角度
Get the area of the circle 获取圆的面积
Get the circumference of the circle 获取圆的周长
Create a copy of this circle 创建此圆的副本
Get the closest point on the circle to the given point 获取圆上距离给定点最近的点
Check if this circle completely contains another circle 检查此圆是否完全包含另一个圆
Check if a point is inside this circle (inclusive of edge) 检查点是否在此圆内(包含边缘)
Get the distance from the circle edge to the given point 获取从圆边缘到给定点的距离
Get the bounding rectangle of the circle 获取圆的边界矩形
Check if this circle intersects with another circle 检查此圆是否与另一个圆相交
Check if this circle intersects with a rectangle 检查此圆是否与矩形相交
Check if this circle is completely contained within another circle 检查此圆是否完全被另一个圆包含
Get a point on the circle at the given angle 获取圆上给定角度的点
Angle in radians (0 = right, π/2 = up)
Convert to a regular number array [x, y, radius] 转换为普通数字数组 [x, y, radius]
Convert to string representation 转换为字符串表示
Static
circumscribedCreate a circle from a bounding rectangle (circumscribed circle) 从边界矩形创建圆(外接圆)
Static
fromCreate a circle from an array [x, y, radius] 从数组创建圆 [x, y, radius]
Static
fromCreate a circle that encompasses the given points 创建包含给定点的圆
Static
inscribedCreate a circle from a bounding rectangle (inscribed circle) 从边界矩形创建圆(内接圆)
Circle using fixed-point arithmetic for deterministic calculations 使用定点算术的圆形,用于确定性计算