ID:
PW:

     0 ºÐ
     19 ºÐ

¿£Áö´Ï¾î µ¹Á¾
  dolljong
OPEN BIM
±¸Á¶ BIM¿¡ ´ëÇÑ Á¤º¸¸¦ ±³È¯ÇÏ´Â °÷ÀÔ´Ï´Ù.


Part03-Chapter11. Point Á¤·ÄÇϱâ
ÀÌÀ¯Áø  2023-09-14 16:52:31, Á¶È¸ : 381, Ãßõ : 84
- Download #1 : È­¸é_ĸó_2023_09_14_164353.png (10.3 KB), Download : 3

- Download #2 : È­¸é_ĸó_2023_09_14_165215.png (36.0 KB), Download : 3


ÀýÁ¡ Index¸¦ ±ÔÄ¢ÀûÀ¸·Î »ý¼º ÇÏ¿´´õ¶óµµ, ´Ù¸¥ ÀýÁ¡µé°ú ÅëÇÕÀ¸·Î ÀÎÇØ ÀýÁ¡ index¼ø¼­¸¦ Á¤·ÄÇØ¾ß ÇÏ´Â °æ¿ì°¡ ÇÊ¿äÇÏ´Ù.

º» ¿¹Á¦´Â ±³·® ¹Þħ ÇåÄ¡¸¦ ¸ðµ¨¸µÇϱâ À§ÇØ ¿¬¼ÓµÇ´Â ÀýÁ¡¹øÈ£ 9¹ø°ú 20À» »ý¼ºÇÏ°í polylineÀ» »ý¼ºÇϱâ À§ÇÏ¿© ÀýÁ¡ XÁÂÇ¥¸¦ ±âÁØÀ¸·Î Á¤·ÄÇÏ¿´´Ù.

¿¹) {point9[1], point20[0], point20[1], point9[2], point9[3], point20[2].........}

(1) functionCallÀ» ÀÌ¿ëÇÏ¿© Á¤·ÄÀ» À§ÇÑ ÇÔ¼ö¸¦ Á¤ÀÇÇÑ´Ù.

(2) Á¤·Ä Á¶°ÇÀº, Á¤·ÄÇÏ°íÀÚ ÇÏ´Â ÀýÁ¡ÀÇ XÁÂÇ¥°ªÀ» ±âÁØÀ¸·Î Á¤·ÄÇϵµ·Ï Á¦¾àÁ¶°ÇÀ» ¼³Á¤ÇÏ¿´°í,

(3) AddFrom()À¸·Î point9°ú point20À» ÇϳªÀÇ Çà·Ä·Î ÅëÇÕÇÏ¿´°í, ÅëÇÕµÈ Çà·ÄÀ» Sort() ÇÔ¼ö¸¦ ÀÌ¿ëÇÏ¿© XÁÂÇ¥°ª ±âÁØÀ¸·Î ÀýÁ¡µéÀ» Á¤·ÄÇÏ°í, sortedPoints¿¡ ÀúÀåÇÏ°í, ¹ÝȯÇÑ´Ù.





  ÃßõÇÏ±â   ¸ñ·Ïº¸±â

Copyright 1999-2024 Zeroboard / skin by zero
±¸Á¶¼³°èÀÇ ¹Ì·¡¸¦ ÁغñÇÏ´Â ¸ðÀÓ [±¸Á¶¼³°è¹Ì·¡Æ÷·³]