# lineArc

Creates a circular arc, of a circle of the given radius and center point, between bearing1 and bearing2; 0 bearing is North of center point, positive clockwise.


参数 类型 描述
center Coord center point
radius number radius of the circle
bearing1 number angle, in decimal degrees, of the first radius of the arc
bearing2 number angle, in decimal degrees, of the second radius of the arc
options Object 可选参数:见下文


属性 类型 默认值 描述
steps number 64 number of steps
units string kilometers miles, kilometers, degrees, or radians


Feature <LineString> - line arc


var center = turf.point([-75, 40]);
var radius = 5;
var bearing1 = 25;
var bearing2 = 47;

var arc = turf.lineArc(center, radius, bearing1, bearing2);
Last Updated: 6/21/2023, 11:40:17 PM