71_projections: Projections

Description Usage Arguments Value See Also Examples

Description

Functions for Mapping 3D GeomObject(s) to 2D GeomObject(s).

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## S3 method for class 'GeomArray'
vt3.proj(v, proj="xy", sort=TRUE, ...)

## S3 method for class 'Grid'
vt3.proj(v, proj="xy", ...)
## S3 method for class 'Line'
vt3.proj(v, proj="xy", ...)
## S3 method for class 'Point'
vt3.proj(v, proj="xy", ...)
## S3 method for class 'Polygon'
vt3.proj(v, proj="xy", ...)
## S3 method for class 'Text'
vt3.proj(v, proj="xy", ...)

Arguments

v

A 3D GeomObject.

proj

String, including "xy", "xz" or "yz"

sort

Logical, if true, sort the GeomArray, which is necessary to plot the corresponding 2D-based arrays correctly.

...

Ignored.

Value

A 2D GeomObject.

Note that plotting a 3D object, automatically projects it.

See Also

range.GeomArray

Examples

1
2
3
4
range (TCUBE)

range (vt3.proj (TCUBE) )
range (vt3.proj (TCUBE, "xz") )

vectools documentation built on June 7, 2021, 9:08 a.m.