X個の2DPointで構成される配列があり、その配列に指定された2DPointがあるかどうかを確認できるブール演算を実行することが目標です。このようなもの:
Point2D.Double arrayPoints[] = new Point2D.Double[numberOfPoints];
Point2D.Double pointPVariable = new Point2D.Double(positionXVariable,positionYVariable);
arrayPoints[variableNumber] = pointPVariable;
if(arrayPoints has the Point2D(2.45,6.52)){
do this
}
どうすればそのブール演算を実行できますか?どうもありがとうございます!