VS:OverlapLineArc: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
No edit summary |
||
Line 5: | Line 5: | ||
----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ||
<desc> | <desc> | ||
Finds the overlap of a line and an arc. Returns the overlapping segment if it exists. | Finds the overlap of a line and an arc. Returns the overlapping segment if it exists.</desc> | ||
</desc> | |||
----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ||
<def> | <def> | ||
<funcDef lang="vs"> | <funcDef lang="vs"> | ||
FUNCTION OverlapLineArc( | FUNCTION OverlapLineArc(begPt:VECTOR; endpt:VECTOR; cenPt:VECTOR; radius:REAL; startAng:REAL; sweepAng:REAL; VAR lapPt1:VECTOR; VAR lapPt2:VECTOR; tolerance:REAL) : BOOLEAN; | ||
</funcDef> | </funcDef> | ||
<funcDef lang="py"> | <funcDef lang="py"> | ||
Line 23: | Line 22: | ||
<lineList ident=1> | <lineList ident=1> | ||
<line> | <line> | ||
begPt | |||
VECTOR | |||
</line> | </line> | ||
<line> | <line> | ||
endpt | |||
VECTOR | |||
</line> | </line> | ||
<line> | <line> | ||
cenPt | |||
VECTOR | |||
</line> | </line> | ||
Line 53: | Line 52: | ||
</line> | </line> | ||
<line> | <line> | ||
lapPt1 | |||
VECTOR | |||
</line> | </line> | ||
<line> | <line> | ||
lapPt2 | |||
VECTOR | |||
</line> | </line> | ||
<line> | <line> | ||
Line 69: | Line 68: | ||
</lineList> | </lineList> | ||
</params> | </params> | ||
----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ||
< | <remark></remark> | ||
</ | |||
----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ||
< | <sample></sample> | ||
</ | |||
----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ||
< | <seeAlso></seeAlso> | ||
</ | |||
----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ||
<version> | <version> | ||
Availability: from | Availability: from Vectorworks 2014 | ||
</version> | </version> | ||
</vwDoc> | </vwDoc> |
Revision as of 17:35, 18 September 2013
.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