VS:LineEllipseIntersect/ja: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
No edit summary |
||
Line 1: | Line 1: | ||
{{LocationMain|category=LocationVS/ja|specific=}} | {{LocationMain|category=LocationVS/ja|specific=}} | ||
__TOC__ | __TOC__ | ||
<vwDoc> | <vwDoc> | ||
Line 11: | Line 11: | ||
<def> | <def> | ||
<funcDef lang="vs"> | <funcDef lang="vs"> | ||
PROCEDURE LineEllipseIntersect(a1: | PROCEDURE LineEllipseIntersect(a1:REAL; a2:REAL; upperRight:REAL; lowerLeft:REAL; VAR int1:REAL; VAR legal1:BOOLEAN; VAR int2:REAL; VAR legal2:BOOLEAN); | ||
</funcDef> | </funcDef> | ||
<funcDef lang="py"> | <funcDef lang="py"> | ||
Line 24: | Line 24: | ||
<line> | <line> | ||
a1 | a1 | ||
REAL | |||
線分の始点座標 | 線分の始点座標 | ||
</line> | </line> | ||
<line> | <line> | ||
a2 | a2 | ||
REAL | |||
線分の終点座標 | 線分の終点座標 | ||
</line> | </line> | ||
<line> | <line> | ||
upperRight | upperRight | ||
REAL | |||
円弧の右上の座標 | 円弧の右上の座標 | ||
</line> | </line> | ||
<line> | <line> | ||
lowerLeft | lowerLeft | ||
REAL | |||
円弧の左下の座標 | 円弧の左下の座標 | ||
</line> | </line> | ||
<line> | <line> | ||
int1 | int1 | ||
REAL | |||
交点1の座標 | 交点1の座標 | ||
</line> | </line> | ||
Line 54: | Line 54: | ||
<line> | <line> | ||
int2 | int2 | ||
REAL | |||
交点2の座標 | 交点2の座標 | ||
</line> | </line> | ||
Line 76: | Line 76: | ||
----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ||
<version> | <version> | ||
Availability: from VectorWorks10.0 | |||
</version> | </version> |
Revision as of 06:07, 13 January 2015
.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix
Description
線分と楕円の交点を返します。
PROCEDURE LineEllipseIntersect(
a1 :REAL;
a2 :REAL;
upperRight :REAL;
lowerLeft :REAL;
VAR int1 :REAL;
VAR legal1 :BOOLEAN;
VAR int2 :REAL;
VAR legal2 :BOOLEAN);
def vs.LineEllipseIntersect(a1, a2, upperRight, lowerLeft): return (int1, legal1, int2, legal2)
Parameters
a1 REAL 線分の始点座標 a2 REAL 線分の終点座標 upperRight REAL 円弧の右上の座標 lowerLeft REAL 円弧の左下の座標 int1 REAL 交点1の座標 legal1 BOOLEAN 交点の有無 int2 REAL 交点2の座標 legal2 BOOLEAN 交点の有無
Version
Availability: from VectorWorks10.0