Point1D {affiner} | R Documentation |
1D points R6 Class
Description
Point1D
is an R6::R6Class()
object representing one-dimensional points.
Public fields
a
Numeric vector that parameterizes the point via the equation
a * x + b = 0
.b
Numeric vector that parameterizes the point via the equation
a * x + b = 0
.
Methods
Public methods
Method new()
Usage
Point1D$new(a, b)
Arguments
a
Numeric vector that parameterizes the line via the equation
a * x + b = 0
.b
Numeric vector that parameterizes the line via the equation
a * x + b = 0
.
Method print()
Usage
Point1D$print(n = NULL, ...)
Arguments
n
Number of lines to print. If
NULL
print all of them....
Passed to
format.default()
.
Method clone()
The objects of this class are cloneable with this method.
Usage
Point1D$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.
Examples
p1 <- as_point1d(a = 1, b = 5)
[Package affiner version 0.1.3 Index]