as_plane3d() casts to a Plane3D object.
Usage
as_plane3d(...)
# S3 method for class 'numeric'
as_plane3d(a, b, c, d, ...)
# S3 method for class 'character'
as_plane3d(x, ...)
# S3 method for class 'Coord3D'
as_plane3d(normal, p1 = as_coord3d("origin"), p2, p3, ...)
# S3 method for class 'Plane3D'
as_plane3d(plane, ...)
# S3 method for class 'Point1D'
as_plane3d(point, b = 0, c = 0, ...)
# S3 method for class 'Line2D'
as_plane3d(line, c = 0, ...)Arguments
- ...
Passed to other function such as
as_coord2d().- a, b, c, d
Numeric vectors that parameterize the plane via the equation
a * x + b * y + c * z + d = 0.- x
A (character) vector to be cast to a Plane3D object
- normal
Normal vector to the plane represented by a Coord3D class object.
p2andp3should be missing.- p1
Point on the plane represented by a Coord3D class object.
- p2, p3
Points on the plane represented by Coord3D class objects.
normalshould be missing.- plane
A Plane3D object
- point
A Point1D object
- line
A Line2D object
