dot-calc: Calculate Things

dot-calcR Documentation

Calculate Things

Description

Calculate distance and/or orientation.

Usage

.calcDist(polys)
.calcOrientation(polys)

Arguments

polys

data.frame – valid PolySet with 'projection' attribute

Details

.calcdist : Equatorial radius 6,378.14 km; Polar radius 6,356.78 km; Mean radius 6,371.3 km

.calcOrientation : Calls C code 'calcOrientation' using .C().

Value

.calcdist : distance vector (distances between each point)

.calcOrientation : data frame with 'orientation' column (-1 when counter-clockwise; 0 when N/A; +1 when clockwise) or NULL if no rows in output

Author(s)

Nicholas M. Boers, Software Engineer, Jobber, Edmonton AB

Maintainer: Rowan Haigh, Program Head – Offshore Rockfish
Pacific Biological Station (PBS), Fisheries & Oceans Canada (DFO), Nanaimo BC
locus opus: Remote office, Vancouver BC
Last modified Rd: 2024-09-03

See Also

In package PBSmapping:
calcLength, placeHoles, thickenPolys


PBSmapping documentation built on Sept. 30, 2024, 9:21 a.m.