Graphisoft®

GeometryVersion: 1.0

Geometry::XSectors

두 섹터들의 교차를 계산합니다. 평행하는 섹터들은 교차하지 않습니다.

     bool XSectors (
      const Sector&  s1,
      const Sector&  s2,
      Boundary       boundaries,
      Coord*         xc
    );

파라미터

s1
1번째 섹터에 대한 포인터입니다.
s2
2번째 섹터에 대한 포인터입니다.
boundaries
모든 섹터 끝들의 경계 타입입니다.
xc
교차 점의 좌표에 대한 포인터입니다.

리턴 값

true
두 라인들이 교차하고 있습니다.
false
두 라인들이 교차하지 않습니다.

요구사항

버전: 1.0 또는 이후
헤더: Sector2DData.h
라이브러리 가져오기: GeometryImp.lib [Win]
모듈: Geometry.dll [WIN] GeometryLib [Mac]

참고사항

Sector2D 함수

2D 상대 위치 테스트 및 교차 계산 표