Main Content

이 번역 페이지는 최신 내용을 담고 있지 않습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.

기초 다각형

다각형 함수

점 집합이 주어진 경우 간단한 다각형을 만들고 면적과 같은 기본적인 기하학적 양을 계산할 수 있습니다. 다각형이 더 복잡하거나 더 기하학적인 정보에 액세스하려는 경우 polyshape 객체를 만듭니다. 그런 다음, 객체 함수를 사용하여 다각형이나 다각형 집합을 수정, 쿼리 및 시각화합니다.

함수

모두 확장

boundaryshapeCreate polyshape from 2-D triangulation
inpolygon다각형 영역의 내부 또는 모서리에 있는 점
nsidedpoly정다각형
polyarea다각형의 면적
polybufferCreate buffer around points, lines, or polyshape objects
rectint직사각형 교차 영역

다형도형 생성 및 수정하기

polyshape2차원 다각형 형태
addboundaryAdd polyshape boundary
polybufferCreate buffer around points, lines, or polyshape objects
rmboundaryRemove polyshape boundary
rmholespolyshape에서 구멍 제거
rmsliversRemove polyshape boundary outliers
rotatepolyshape 회전
scalepolyshape 스케일링
simplifypolyshape 경계 단순화하기
sortboundariesSort polyshape boundaries
sortregionsSort polyshape regions
translatepolyshape 평행 이동

쿼리하기와 시각화하기

boundarypolyshape 경계의 꼭짓점 좌표
holespolyshape 구멍 경계를 polyshape 객체로 구성된 배열로 변환
isholeDetermine if polyshape boundary is a hole
isinteriorQuery points inside polyshape
issimplifiedDetermine if polyshape is well-defined
nearestvertexQuery nearest polyshape vertex
numboundariesNumber of polyshape boundaries
numsidesNumber of polyshape sides
overlapsDetermine whether polyshape objects overlap
plotpolyshape 플로팅하기
regionspolyshape 영역 액세스

기하학적 양

areapolyshape의 면적
boundingboxpolyshape의 경계 상자
centroidpolyshape의 중심
convhullpolyshape의 볼록 껍질
turningdistCompute turning distance between polyshape objects
triangulationpolyshape 삼각분할
perimeterpolyshape의 둘레

부울 연산

intersectIntersection of polyshape objects
subtractDifference of two polyshape objects
unionUnion of polyshape objects
xorExclusive OR of two polyshape objects