Click here to Skip to main content
15,897,187 members
Articles / Programming Languages / C++

Delaunay's TIN - Triangulated Irregular Network

Rate me:
Please Sign up or sign in to vote.
4.36/5 (28 votes)
18 Apr 20043 min read 183.8K   15.6K   66  
Delaunay's TIN - Triangulated Irregular Network
trix.exe

�t�@�C������|�C���g�̏W����ǂݍ���Ńh���l�[�̕��@�ŎO�p�`�Ԃ𐶐�����v���O�����ł��B
�|�C���g�E�t�@�C���̓R���}�i,�j�ŋ�؂�ꂽXY�܂���XYZ���W�����ԃe�L�X�g�E�t�@�C���ł��B
�|�C���g�E�t�@�C���ɂ͊e�_�̍��W���A
+-------------------+ 
| 200,790           |
| 370,760           |
| 60,670            |
| 360,890           |
| 280,620           |
| 30,880            |
| 230,960           |
+-------------------+ 
�܂��́A
+-------------------+ 
| 200,790,100       | 
| 370,760,110       | 
| 60,670,115        | 
| 360,890,92        | 
| 280,620,125       | 
| 30,880,95         | 
| 230,960,110       |
+-------------------+ 
�̂悤�ɕ���ł��܂��B��̂悤��XY���W�݂̂ł�悭�A�܂����̂悤��XYZ���W��
�����Ă��Ă���܂��܂���BZ���W�͎O�p�`�Ԃ̍쐬�ɂ͎g���܂���B�ǂ��炩�̃t�@�C����ǂݍ���Ő��������O�p�`�̃f�[�^�́A�|�C���g�E�t�@�C���Ɠ����f�B���N�g���[�ɁA�wtri�x�ƌ����g���q��������t�@�C���Ƃ��č���܂��B
+-------------------+ 
| 1,6,7             |
| 1,3,6             |
| 2,7,4             |
| 1,2,5             |
| 1,7,2             |
| 1,5,3             |
+-------------------+ 
�t�@�C���ɂ́A�e�O�p�`��\�����钸�_�̒ʂ��ԍ����R���}�ŋ�؂��ĕ���ł��܂��B�Ⴆ�΁A��–ڂ̎O�p�`�͓��̓t�@�C����1�Ԗځi200�A790�j�A6�Ԗځi30�A880�j�A7�Ԗځi230�A960�j�̓_����Ȃ��Ă��܂��B

�N�������́A(1)�|�C���g�E�t�@�C�����A(2)�ʕ�̎g�p������t���O�̂ӂ��‚ł�
��–ڂ̈�����Y�̏ꍇ�A�|�C���g�̏W���ɑ΂���ʕ�i���ׂĂ̓_���܂���ŏ��̓ʑ��p�`�j���͂��߂ɋ��߂��A���p�`��������ׂĎO�p�`�Ԃɕ�������܂��B�ʕ�̉��ӕ��ł̓h���l�[�̕����Z�@���K�p���ꂸ�A�ג����s���R�Ȍ`�̎O�p�`���������܂��B
��–ڂ̈�����N�܂��͏ȗ����ꂽ�ꍇ�́A�G���A�̎��ӂɌv�Z�p�̋[���|�C���g��ݒu���Čv�Z���܂��B���̂��߁A�ʕ�̉��ӕ��ł͎O�p�`�Ԃɑ����Ȃ��������ł��邱�Ƃ�����܂��B
���ӕ��̌`�������΁A���̂ӂ��‚̃��[�h�ɈႢ�͂���܂���B

���Ɛӎ����Ȃǁ�
�{�v���O������g�p�������Ƃɂ���Đ����������Ȃ鑹�Q�ɂ‚��Ă��҂͐ӔC�𕉂�Ȃ���̂Ƃ��܂��B
�{�v���O�����Ɋւ��邲����E���ӌ��́A��ҁwPixel Topography Group�x�܂ł����肭�������B
�{�v���O�����Ɋւ���ŐV���A�C���A�ŐV�Ń_�E�����[�h�t�@�C���̌��J�Ȃǂ͂��ׂĉ��L�E�F�u�T�C�g�ōs���܂� 
�{�v���O�����̓]�ځA�Ĕz�z�Ȃǂ�s���ꍇ�͎��O�ɍ�҂܂ł��A���̏�A���‚𓾂Ă��������B
�T�C�g�Fwww.pixtopo.com
���[���Fpixtopo@pixtopo.com

Usage: [Node File] (Use Convex Hull? Y/N )

===> Notes:
===> [Node File] must be a name of existing Node file.
===> [Node File] has a list of (X,Y) or (X,Y,Z) coordiinated 
===> delineated by comma(,). Output triangle file is created 
===> in the same directory with an extention 'tri'.
===> Option (Use Convex Hull?) determins whether all area in 
===> the convex hull are triangulated. This option must be Y or N. 
===> If this option is omitted, convex hull is not used.

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions