Learn R Programming

cograph (version 1.5.2)

offset_point: Offset Point from Center

Description

Calculate a point offset from another point by a given distance.

Usage

offset_point(x, y, toward_x, toward_y, offset)

Value

List with x, y coordinates.

Arguments

x, y

Original point.

toward_x, toward_y

Point to offset toward.

offset

Distance to offset.