I#regionStructurespublicstructSegment{publicPointFp;publicPointFq;publicboolcontains(SuperPointpoint){if(p.Equals(point.P)||q.Equals(point.P))returntrue;returnfalse;}}