Graphisoft®

GeometryVersion: 1.0

데이터 구조-독립 2D 폴리곤 함수

이 함수들은 콜백 함수들과 함께 아무 데이터 구조들에서나 작동합니다. (요즘은 이것을 반복자(iterator)라고 함) 이것은 당신의 특수한 필요성을 위해 적절한 데이터 저장 포맷을 선택할 수 있는 크나큰 자유를 제공해줍니다. 그러나 작업을 위해 당신은 이러한 콜백 (반복자)를 제공해야 합니다.

다음은 당신이 제공해야 할 폴리곤의 일반적인 설명입니다: 외곽 및 정점들의 개수, 방향 등. 그리고 폴리곤 세그먼트들에 대한 상수 랜덤 반복자와 같은 콜백 함수가 있습니다. 이것은 모서리라고 불립니다. 각 폴리곤 세그먼트는 정점과 방향에 따라 그것으로부터 시작되는 모서리로 구성됩니다. 각 세그먼트는 자신이 외곽의 끝인지 아닌지 여부를 표시해야 합니다. 그래서 별도의 외곽 구조체가 존재하지 않습니다.
결과를 얻으려면 결과로 나오는 폴리곤들에 대한 저장소에 백-삽입자 반복자 및 모든 폴리곤들에 대한 결과로 나오는 (모서리라고도 하는) 세그먼트들에 대한 저장소에 백-삽입자 반복자와 같은 콜백 함수를 제공해야 합니다. 외곽 끝들은 세그먼트들에서 표시됩니다.

Geometry::PGEDGESTATUSEXT
Geometry::PGEDGEEXT

GetPGEdgeProcExt
NewPGEdgeProcExt
Geometry::PGPOLYSTATUSEXT
Geometry::PGPOLYEXT

NewPGPolyProcExt
PGRESPOLYEXT

PGRESSECTOREXT

Geometry::PGRelPolyPosExt
Geometry::PGPositionExt

이 함수들은 콜백 폴리곤들에서 작동합니다.

Geometry::PGPolyAreaExt
Geometry::PGPolyRemoveHolesExt
Geometry::PGPolyMakeRegularExt
Geometry::PGPolyMakeRegular2Ext
Geometry::PGPolyResizeContourExt
Geometry::PGPolyMoveVertexExt
Geometry::PGPolyGetMaxVertexFilletExt
Geometry::PGPolyFilletVertexExt
Geometry::PGPolyFilletContourExt
Geometry::PGPolyChamferVertexExt
Geometry::PGPolyChamferContourExt
Geometry::PGPolyInsertVertexExt
Geometry::PGPolySetEdgeAngleExt
Geometry::PGPolyOffsetEdgeExt
Geometry::PGPolyDeleteEdgeExt
Geometry::PGCoordInPolyExt
Geometry::PGSegmentInPolyExt
Geometry::PGPolyPositionExt
Geometry::PGPolyUnionExt
Geometry::PGPolyDifferenceExt
Geometry::PGPolyStrip
Geometry::PGPolyClip
Geometry::PGPolyCut
Geometry::PGPolyIntersectionExt
Geometry::PGPolyOffsetEdgeFixAreaExt

Geometry::PGSetDebugFlagsExt

참고사항

Geometry, Geometry::PG3DEDGEEXT, Geometry::PGPoly3DPosition, Geometry::PG3DSplitPolyExt