Learn R Programming

affiner (version 0.1.3)

as_plane3d: Cast to Plane3D object

Description

as_plane3d() casts to a Plane3D object.

Usage

as_plane3d(...)

# S3 method for numeric as_plane3d(a, b, c, d, ...)

# S3 method for character as_plane3d(x, ...)

# S3 method for Coord3D as_plane3d(normal, p1 = as_coord3d("origin"), p2, p3, ...)

# S3 method for Plane3D as_plane3d(plane, ...)

# S3 method for Point1D as_plane3d(point, b = 0, c = 0, ...)

# S3 method for 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. p2 and p3 should be missing.

p1

Point on the plane represented by a Coord3D class object.

p2, p3

Points on the plane represented by Coord3D class objects. normal should be missing.

plane

A Plane3D object

point

A Point1D object

line

A Line2D object