方向は、あるコントロール ポイントから別のポイント参照への既知または固定の方向(方位角または方位)です。ポイント参照は、測量の後の段階で観測する場合や、設定で実際に指定されない場合があります。これは、参照ポイントが山頂、タワーなど測量機器を物理的に設置できない位置にあるものの、コントロール ポイントからその位置への方向が分かっている場合に起こります。測量ネットワーク全体を、1 つのコントロール ポイントと 1 つの方向から定義できます。
ネットワーク内の方向のコレクションは、AeccNetwork.Directions プロパティに保持されます。 新しい方向をネットワークに追加するには、コレクションの Create メソッドを使用します。 Create は、2 点を結ぶ指定された角度の新しい方向を AeccSurveyDirections コレクションに追加し、作成された AeccSurveyDirection オブジェクトの参照を返します。
' Get collection of all directions. Dim oDirections As AeccSurveyDirections Set oDirections = oSurveyNetwork.Directions ' Create a direction from point 3001 to the (not yet ' existing) point 3004 at an angle of 45.0 degrees azimuth. Dim oDirection As AeccSurveyDirection ' 0.785398163 = 40 degrees in radians Set oDirection = oDirections.Create( _ 3001, _ 3004, _ 0.785398163, _ aeccSurveyDirectionTypeAzimuth)