Learn R Programming

ptinpoly (version 2.8)

Point-in-Polyhedron Test (2D and 3D)

Description

Function pip3d() tests whether a point in 3D space is within, exactly on, or outside an enclosed surface defined by a triangular mesh. Function pip2d() tests whether a point in 2D space is within, exactly on, or outside a polygon. For a reference, see: Liu et al., A new point containment test algorithm based on preprocessing and determining triangles, Computer-Aided Design 42(12):1143-1150.

Copy Link

Version

Install

install.packages('ptinpoly')

Monthly Downloads

260

Version

2.8

License

GPL-2

Maintainer

Last Published

June 2nd, 2020

Functions in ptinpoly (2.8)

vf2blocks

Convertor from Vertices-Faces Representation to 3-Block Representation
comb

Sample Data: Comb Polygon
fractal

Sample Data: Fractal Polygon
pip3d

Test for Point Containment in 3D Polyhedron
cube

Sample Data: Simple Cube
spiral

Sample Data: Spiral Polygon
blocks2vf

Convertor from 3-Block Representation Representation to Vertices-Faces
pip2d

Test for Point Containment in 2D Polygon