 | XcgIsPtOnPoly Method |
입력 정점배열로 이루어진 폴리라인(또는 폴리곤)에 대해 특정 위치에 대한 hit-testing을 수행한다.
Namespace:
Pixoneer.NXDL.NGR
Assembly:
NXDLgr (in NXDLgr.dll) Version: 1.2.817.72
Syntaxpublic static XHitFlag IsPtOnPoly(
XVertex3d vert,
XVertex3d[] vertArray,
double widthx,
double widthy,
bool bClosed
)
Parameters
- vert
- Type: Pixoneer.NXDLXVertex3d
테스트를 위한 특정 위치점 - vertArray
- Type: Pixoneer.NXDLXVertex3d
폴리라인(또는 폴리곤)을 이루는 정점 배열 - widthx
- Type: SystemDouble
x 방향의 hit-testing 범위 - widthy
- Type: SystemDouble
y 방향의 hit-testing 범위 - bClosed
- Type: SystemBoolean
bClosed가 true이면 첫 점과 마지막 점을 이어서 폴리곤으로 처리한다.
Return Value
Type:
XHitFlag 객체가 hit-test되면 Hit flag가 리턴되고 그렇지 않으면 null이 반환된다.
See Also