Pointify: Conversion to point cloud

Description Usage Arguments Details Value

Description

Converts any spatial3DDataFrame object to a points3DDataFrame. Specific options depend of the object being converted.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
Pointify(object, ...)

## S4 method for signature 'points3DDataFrame'
Pointify(object)

## S4 method for signature 'directions3DDataFrame'
Pointify(object)

## S4 method for signature 'grid3DDataFrame'
Pointify(object)

## S4 method for signature 'blocks3DDataFrame'
Pointify(object,
  discretization = object@discretization)

## S4 method for signature 'lines3DDataFrame'
Pointify(object, locations = c(0.05, 0.5, 0.95),
  distance = F)

Arguments

object

The object being converted.

locations

Relative locations along each line segment from which to extract a point (between 0 and 1, inclusive).

distance

Should the distance from the closest vertex be included?

Details

If distance = T, the distance from the point to the closest vertex in the original line segment is included in the returned object. The values are stored in the .dist column.

In the current version, this method is only useful for lines3DDataFrame objects. Future versions will add functionality for block models and other kinds of objects.

Value

A points3DDataFrame object.


italo-goncalves/geomod3D documentation built on May 24, 2019, 2:49 p.m.