Skip to main content

tArc()

Draws a tangent arc with a given radius and end angle.

Returns: Geometry

tip

See the guide for detailed usage examples.

Signatures

tArc(radius?: number, endAngle?: number): Geometry

Draws a tangent arc with a given radius and end angle.

ParameterTypeDescription
radiusnumberThe arc radius (defaults to 100) (optional)
endAnglenumberThe sweep angle in degrees (defaults to 90) (optional)

tArc(radius: number, angle: number, tangent: Point2DLike): Geometry

Draws a tangent arc with a given radius, angle, and start tangent direction.

ParameterTypeDescription
radiusnumberThe arc radius
anglenumberThe sweep angle in degrees
tangentPoint2DLikeThe start tangent direction

tArc(endPoint: Point2DLike): Geometry

Draws a tangent arc to a given end point.

ParameterTypeDescription
endPointPoint2DLikeThe end point of the arc

tArc(endPoint: Point2DLike, tangent: Point2DLike): Geometry

Draws a tangent arc to a given end point with an explicit end tangent.

ParameterTypeDescription
endPointPoint2DLikeThe end point of the arc
tangentPoint2DLikeThe end tangent direction

tArc(startPoint: Point2DLike, endPoint: Point2DLike, tangent: Point2DLike): Geometry

Draws a tangent arc from a start point to an end point with a tangent.

ParameterTypeDescription
startPointPoint2DLikeThe start point of the arc
endPointPoint2DLikeThe end point of the arc
tangentPoint2DLikeThe end tangent direction

tArc(c1: SceneObject, c2: SceneObject, radius: number, mustTouch?: boolean): TangentArcTwoObjects

Draws a tangent arc between two geometry objects.

ParameterTypeDescription
c1SceneObjectThe first geometry object
c2SceneObjectThe second geometry object
radiusnumberThe arc radius
mustTouchbooleanWhether the arc must touch both objects (optional)

tArc(c1: QualifiedGeometry, c2: QualifiedGeometry, radius: number, mustTouch?: boolean): TangentArcTwoObjects

Draws a tangent arc between two qualified geometry objects.

ParameterTypeDescription
c1QualifiedGeometryThe first qualified geometry object (e.g., outside(circle1))
c2QualifiedGeometryThe second qualified geometry object
radiusnumberThe arc radius
mustTouchbooleanWhether the arc must touch both objects (optional)

tArc(c1: Point2DLike, c2: Point2DLike, radius: number, mustTouch?: boolean): TangentArcTwoObjects

Draws a tangent arc between two points.

ParameterTypeDescription
c1Point2DLikeThe first point
c2Point2DLikeThe second point
radiusnumberThe arc radius
mustTouchbooleanWhether the arc must touch both points (optional)

tArc(c1: Point2DLike | SceneObject | QualifiedGeometry, c2: Point2DLike | SceneObject | QualifiedGeometry, radius: number, mustTouch?: boolean): TangentArcTwoObjects

Draws a tangent arc using a mix of geometry objects, qualified objects, or points as constraints.

ParameterTypeDescription
c1Point2DLike | SceneObject | QualifiedGeometryThe first constraint object or point
c2Point2DLike | SceneObject | QualifiedGeometryThe second constraint object or point
radiusnumberThe arc radius
mustTouchbooleanWhether the arc must touch both constraints (optional)