@define521 应该没错:
if float_less_equal(first_high, second_high) and float_more_equal(first_low, second_low):
isInclusion = InclusionType.firstCsecond
elif float_more_equal(first_high, second_high) and float_less_equal(first_low, second_low):
isInclusion = InclusionType.secondCfirst
这里的C是代表包含的意思
第一段是第二个包含第一个,
第二段是第一个包含第二个
你可以把C想象成数学的包含符号那就清晰了
2020-04-22