오일러의 공식

$e^{i pi} + 1 = 0$

이 식에는 e, $pi$, i, 1, 0이 모두 들어 있다.
소설, 영화 "박사가 사랑한 수식"에도 등장한다.

Posted by solarview

2007/11/30 15:10 2007/11/30 15:10
Response
No Trackback , No Comment
RSS :
http://www.solarview.net/rss/response/160

sky factor와 sky view factor

sky factor는 천공비로 번역할 수 있으며, sky-view factor는 천공형태계수 또는 천공률로 번역할 수 있다.

Posted by solarview

2007/11/15 11:38 2007/11/15 11:38
Response
No Trackback , No Comment
RSS :
http://www.solarview.net/rss/response/178

연산자 중복정의(operator overload)

VB2005는 VB2003과 달리 연산자 중복정의를 할 수 있다. 다음은 행렬계산에서 곱셈(*)에 대한 연산자 중복정의를 한 코드이다.
[code lang-vb]Public Shared Operator *(ByVal mA As Matrix3D, ByVal mB As Matrix3D) As Matrix3D
    Dim i, j As Short
    Dim mC As Matrix3D = New Matrix3D
    For i = 0 To 3
        For j = 0 To 3
           mC.Data(i, j) = (mA.Data(i,0)*mB.Data(0,j))+(mA.Data(i,1)*mB.Data(1,j)) _
                             + (mA.Data(i,2)*mB.Data(2,j))+(mA.Data(i,3)*mB.Data(3,j))
        Next j
    Next i
    Return mC
End Operator

Public Shared Operator *(ByVal mA As Matrix3D, ByVal p1 As Point3D) As Point3D
  Dim p2 As Point3D = New Point3D()
  p2.X=(mA.Data(0,0)*p1.X)+(mA.Data(0,1)*p1.Y)+(mA.Data(0,2)*p1.Z)+(mA.Data(0,3)*1)
  p2.Y=(mA.Data(1,0)*p1.X)+(mA.Data(1,1)*p1.Y)+(mA.Data(1,2)*p1.Z)+(mA.Data(1,3)*1)
  p2.Z=(mA.Data(2,0)*p1.X)+(mA.Data(2,1)*p1.Y)+(mA.Data(2,2)*p1.Z)+(mA.Data(2,3)*1)
  Return p2
End Operator[/code]

Posted by solarview

2007/11/14 11:34 2007/11/14 11:34
, , , ,
Response
No Trackback , No Comment
RSS :
http://www.solarview.net/rss/response/177

AutoCAD Release 12 DXF Format

AutoCAD R12의 DXF 형식에 대한 모든 설명이 있는 문서를 여기에서 찾을 수 있다.
더 많은 여러가지 정보는 여기에서 찾을 수 있다.

Posted by solarview

2007/11/14 11:31 2007/11/14 11:31
, ,
Response
No Trackback , No Comment
RSS :
http://www.solarview.net/rss/response/304

이벤트 핸들러 로직을 공유하기

풀다운메뉴와 툴바의 메뉴는 형식이 다른 콘트롤이나, 동일한 기능을 하는 다른 콘트롤이다. 즉, 이 콘트롤들의 대표적인 이벤트인 클릭(click)을 통해서 동일한 일을 하게 된다. 이럴 때 클릭에 대한 이벤트를 공유한다. 과거 VB6에서는 콘트롤배열(control arrays)이란 개념으로 수행했으나, 이제는 컨트롤의 이벤트 메소드의 Handles문을 통하여 구현할 수 있다.

  다음의 경우는 풀다운메뉴를 클릭했을 때(mnuWaldram.Click)와 툴바메뉴를 클릭했을 때(WaldramToolStripButton.Click)에 대한 이벤트 핸들러를 공유한 것이다.

[code]Private Sub mnuWaldram_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mnuWaldram.Click, WaldramToolStripButton.Click
  mnuWaldram.Checked = Not mnuWaldram.Checked
  WaldramToolStripButton.Checked = mnuWaldram.Checked
  My.Settings.WaldramChecked = mnuWaldram.Checked
End Sub[/code]

Posted by solarview

2007/11/13 11:29 2007/11/13 11:29
, , ,
Response
No Trackback , No Comment
RSS :
http://www.solarview.net/rss/response/176

[책]Geometric Tools for Computer Graphics

Geometric Tools for Computer Graphics by Philip J. Schneider, David Eberly


사용자 삽입 이미지

컴퓨터 그래픽 분야는 기하학문제가 많은 곳 중의 하나이다.
이 책은 그런 기하학문제에 대한 수학적, 언어적 해결책을 제시해 준다.

Posted by solarview

2007/11/07 02:25 2007/11/07 02:25
, ,
Response
No Trackback , No Comment
RSS :
http://www.solarview.net/rss/response/154

설정내용을 외부에 저장하기

프로그램의 설정을 다음 번에도 사용하기 위해서는 프로그램 외부에 설정내용을 저장해야 한다. VB2005부터는 My.Settings라는 클래스를 통해서 설정내용을 저장할 수 있다.
프로젝트 디자이너에서 응용 프로그램 설정을 추가하려면
1. 솔루션 탐색기에서 프로젝트를 선택하고 프로젝트 메뉴에서 속성을 클릭합니다.
2. 설정 창을 선택합니다.
3. 설정 표의 빈 행을 클릭합니다.
4. 이름 열에 설정 이름을 입력합니다. 이름에는 공백을 사용할 수 없습니다.
5. 형식 드롭다운 목록에서 설정의 데이터 형식을 선택합니다.
6. 범위 드롭다운 목록에서 설정 범위를 선택합니다. 설정 범위는 응용 프로그램 또는 사용자가 될 수 있습니다.
7. 값 열에 설정의 기본값을 입력합니다. 값은 선택한 데이터 형식에 적합해야 합니다.

Posted by solarview

2007/11/03 10:00 2007/11/03 10:00
, ,
Response
No Trackback , No Comment
RSS :
http://www.solarview.net/rss/response/181