# VS:OverlapLineArc

Jump to navigation
Jump to search

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix

## Description

Finds the overlap of a line and an arc. Returns the overlapping segment if it exists.

FUNCTION OverlapLineArc(

begPt :VECTOR;

endpt :VECTOR;

cenPt :VECTOR;

radius :REAL;

startAng :REAL;

sweepAng :REAL;

VAR lapPt1 :VECTOR;

VAR lapPt2 :VECTOR;

tolerance :REAL) : BOOLEAN;

def vs.OverlapLineArc(begPt, endpt, cenPt, radius, startAng, sweepAng, tolerance): return (BOOLEAN, lapPt1, lapPt2)

## Parameters

begPt VECTOR endpt VECTOR cenPt VECTOR radius REAL startAng REAL sweepAng REAL lapPt1 VECTOR lapPt2 VECTOR tolerance REAL

## Version

Availability: from Vectorworks 2014