homogeneous_to_cartesian: Convert homogeneous coordinates to Cartesian coordinates.

View source: R/kdtree.R

homogeneous_to_cartesianR Documentation

Convert homogeneous coordinates to Cartesian coordinates.

Description

Convert homogeneous coordinates to Cartesian coordinates.

Usage

homogeneous_to_cartesian(homog)

Arguments

homog

nx4 numeric matrix of input coordinates

Value

nx3 matrix of Cartesian coordinates

Examples

## Not run: 
homog = matrix(c(1,2,3,1,1,2,3,2), ncol=4, byrow=TRUE);
haze:::homogeneous_to_cartesian(homog);

## End(Not run)


dfsp-spirit/haze documentation built on Feb. 28, 2023, 11:45 p.m.