project_2d_line: Project 3D line coordinates to 2D

View source: R/main.R

project_2d_lineR Documentation

Project 3D line coordinates to 2D

Description

Use project2D to project start and end points from 3D world coordinates to 2D screen coordinates.

Usage

project_2d_line(x0, y0, z0, x1, y1, z1, proj_mat)

Arguments

x0, y0, z0

coordinates of start point.

x1, y1, z1

coordinates of end point.

proj_mat

4*4 projection matrix, as returned from get_projection().


bobverity/bobfunctions2 documentation built on July 4, 2023, 8:55 p.m.