as_point1d() casts to a Point1D object.
Usage
as_point1d(...)
# S3 method for class 'numeric'
as_point1d(a, b, ...)
# S3 method for class 'character'
as_point1d(x, ...)
# S3 method for class 'Coord1D'
as_point1d(normal, ...)
# S3 method for class 'Point1D'
as_point1d(point, ...)Arguments
- ...
Passed to other function such as
as_coord2d().- a, b
Numeric vectors that parameterize the point via the equation
a * x + b = 0. Note this means thatx = -b / a.- x
A (character) vector to be cast to a Point1D object
- normal
Coord1D class object.
- point
A Point1D object
