Geometry::PGPolyInsertVertexExt
주어진 모서리를 나누고 거기에 정점 하나를 삽입합니다. 결과는 정규화될 것입니다.
GSErr PGPolyInsertVertexExt ( const PGPOLYEXT* polygon, long breakedEdgeIdx, const Coord& newVertexPosition, PGRESPOLYEXT* newPolygons );
파라미터
- polygon
- 정점이 삽입될 폴리곤입니다.
- breakedEdgeIdx
- 삽입된 정점에 의해 나눠지게 되는 모서리의 인덱스입니다.
- newVertexPosition
- 삽입될 정점의 좌표입니다.
- newPolygons
- 결과 폴리곤에 대한 포인터입니다.
리턴 값
NoError
- 함수가 성공적으로 완료되었습니다.
요구사항
- 버전: 1.0 또는 이후
- 헤더: Polygon2DOperations.h
- 라이브러리 가져오기: GeometryImp.lib [Win]
- 모듈: Geometry.dll [WIN] GeometryLib [Mac]