Apply marching squares lookup table to get line segments
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | config | |||
real(kind=wp), | intent(in) | :: | xa | |||
real(kind=wp), | intent(in) | :: | ya | |||
real(kind=wp), | intent(in) | :: | xb | |||
real(kind=wp), | intent(in) | :: | yb | |||
real(kind=wp), | intent(in) | :: | xc | |||
real(kind=wp), | intent(in) | :: | yc | |||
real(kind=wp), | intent(in) | :: | xd | |||
real(kind=wp), | intent(in) | :: | yd | |||
real(kind=wp), | intent(out) | :: | line_points(8) | |||
integer, | intent(out) | :: | num_lines |