This commit is contained in:
ysCha 2026-02-25 14:39:38 +09:00
parent de6d5b5211
commit 05a3da994c

View File

@ -482,9 +482,8 @@ export const skeletonBuilder = (roofId, canvas, textMode) => {
// changRoofLinePoints 좌표를 roof.skeletonPoints에 저장 (원본 roof.points는 유지)
roof.skeletonPoints = changRoofLinePoints.map(p => ({ x: p.x, y: p.y }))
console.log('skeleton polygon:', orderedBaseLinePoints)
console.log('expanded polygon:', changRoofLinePoints)
const geoJSONPolygon = toGeoJSON(orderedBaseLinePoints)
console.log('points:', changRoofLinePoints)
const geoJSONPolygon = toGeoJSON(changRoofLinePoints)
try {
// SkeletonBuilder는 닫히지 않은 폴리곤을 기대하므로 마지막 점 제거