Method GetPointsForDrawWave
GetPointsForDrawWave(RectI)
Generates an array of points representing a wave pattern within the specified rectangular area.
public static PointD[] GetPointsForDrawWave(RectI rect)
Parameters
rectRectIThe rectangular area within which the wave pattern is generated.
Returns
- PointD[]
An array of PointD objects representing the points of the wave pattern. The wave spans the horizontal range of the rectangle and alternates vertically to create the pattern.
Remarks
The method ensures that the wave pattern fits within the bounds of the specified rectangle. The horizontal spacing and vertical offsets of the wave are determined by internal scaling factors.