VS:LineEllipseIntersect/ja: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 11: | Line 11: | ||
<def> | <def> | ||
<funcDef lang="vs"> | <funcDef lang="vs"> | ||
PROCEDURE LineEllipseIntersect(a1: | PROCEDURE LineEllipseIntersect(a1:POINT; a2:POINT; upperRight:POINT; lowerLeft:POINT; VAR int1:POINT; VAR legal1:BOOLEAN; VAR int2:POINT; VAR legal2:BOOLEAN); | ||
</funcDef> | </funcDef> | ||
<funcDef lang="py"> | <funcDef lang="py"> | ||
Line 24: | Line 24: | ||
<line> | <line> | ||
a1 | a1 | ||
POINT | |||
線分の始点座標 | 線分の始点座標 | ||
</line> | </line> | ||
<line> | <line> | ||
a2 | a2 | ||
POINT | |||
線分の終点座標 | 線分の終点座標 | ||
</line> | </line> | ||
<line> | <line> | ||
upperRight | upperRight | ||
POINT | |||
円弧の右上の座標 | 円弧の右上の座標 | ||
</line> | </line> | ||
<line> | <line> | ||
lowerLeft | lowerLeft | ||
POINT | |||
円弧の左下の座標 | 円弧の左下の座標 | ||
</line> | </line> | ||
<line> | <line> | ||
int1 | int1 | ||
POINT | |||
交点1の座標 | 交点1の座標 | ||
</line> | </line> | ||
Line 54: | Line 54: | ||
<line> | <line> | ||
int2 | int2 | ||
POINT | |||
交点2の座標 | 交点2の座標 | ||
</line> | </line> |
Latest revision as of 07:42, 28 April 2016
.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix
Description
線分と楕円の交点を返します。
PROCEDURE LineEllipseIntersect(
a1 :POINT;
a2 :POINT;
upperRight :POINT;
lowerLeft :POINT;
VAR int1 :POINT;
VAR legal1 :BOOLEAN;
VAR int2 :POINT;
VAR legal2 :BOOLEAN);
def vs.LineEllipseIntersect(a1, a2, upperRight, lowerLeft): return (int1, legal1, int2, legal2)
Parameters
a1 POINT 線分の始点座標 a2 POINT 線分の終点座標 upperRight POINT 円弧の右上の座標 lowerLeft POINT 円弧の左下の座標 int1 POINT 交点1の座標 legal1 BOOLEAN 交点の有無 int2 POINT 交点2の座標 legal2 BOOLEAN 交点の有無
Version
利用可能バージョン: VectorWorks10.0