Cocos Creator is a highly customizable game development tool that utilizes the power of cocos2d-x.
Intersection helper class
Test line and line
a1
The start point of the first line
a2
The end point of the first line
b1
The start point of the second line
b2
The end point of the second line
Test line and rect
The start point of the line
The end point of the line
b
The rect
Test line and polygon
The polygon, a set of points
Test rect and rect
a
The first rect
The second rect
Test rect and polygon
Test polygon and polygon
The first polygon, a set of points
The second polygon, a set of points
Test circle and circle
Object contains position and radius
Test polygon and circle
polygon
The Polygon, a set of points
circle
Test whether the point is in the polygon
point
The point
Calculate the distance of point to line.
start
The start point of line
end
The end point of line
isSegment
whether this line is a segment
There are no methods that match your current filter settings. You can change your filter settings in the index section on this page. index
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル