Enunciado Examen Septiembre 2006 Inform tica

Anuncio
frmRecPol - 1
Option Explicit
Dim
Dim
Dim
Dim
Dim
Dim
D As Double
Az As Double
pe As PUNTO
ref As PUNTO
pv As PUNTO
ob As OBS
Private Sub cmdCalcular_Click()
pe.X = CDbl(Me.txtX1.Text)
pe.Y = CDbl(Me.txtY1.Text)
ref.X = CDbl(Me.txtX2.Text)
ref.Y = CDbl(Me.txtY2.Text)
End Sub
topo1 - 1
Option Explicit
' ASIGNAR EL VALOR DE PI EN EL EVENTO LOAD DEL FORMULARIO DE ENTRADA
Public PI As Double
Public Type PUNTO
N As Long
X As Double
Y As Double
Z As Double
desorientacion As Double
Nombre As String
End Type
Public Type OBS
NE As Long
NV As Long
H As Double
V As Double
D As Double
I As Single
M As Single
End Type
Public Sub Main()
'AQUI CALCULAR EL VALOR DE PI
' LLAMAR AL FORMULARIO RecPol
End Sub
Public Sub RecPol(ByVal xx As Double, ByVal yy As Double, ByRef dist As Double, ByRef azimut As Dou
ble)
' xx es el incremento de x , X del punto visado - X del punto de estación
' yy es el incremento de y , Y del punto visado - Y del punto de estación
' dist es la distancia calculada
' azimut es el azimut calculado
End Sub
Descargar