PointUtil
StockSharp.Xaml.Charting.Utility
ポイントで操作するためのヘルパーメソッドを提供
メソッド
LineIntersection2D
public static bool LineIntersection2D(Line firstLine, Line secondLine, Point intersectionPoint)
result = PointUtil.LineIntersection2D(firstLine, secondLine, intersectionPoint)
通過する2行の交差点を探します
- firstLine
- 第一線
- secondLine
- 第二線
- intersectionPoint
- 線が交差する場合には、交差点の点を保持します
戻り値: 交差点が起こるかどうかを示す値
LineSegmentsIntersection2D
public static bool LineSegmentsIntersection2D(Line firstLine, Line secondLine, Point intersectionPoint)
result = PointUtil.LineSegmentsIntersection2D(firstLine, secondLine, intersectionPoint)
通過する2行の交差点を探します
- firstLine
- 第一線
- secondLine
- 第二線
- intersectionPoint
- 線が交差する場合には、交差点の点を保持します
戻り値: 交差点が起こるかどうかを示す値