# Copyright 1999-2020 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit R-packages

DESCRIPTION='Point-in-Polyhedron Test (2D and 3D)'
KEYWORDS="~amd64"
SRC_URI="http://cran.r-project.org/src/contrib/ptinpoly_2.8.tar.gz"
LICENSE='GPL-2'

IUSE="${IUSE-} r_suggests_geometry r_suggests_rgl"
R_SUGGESTS="
	r_suggests_geometry? ( sci-CRAN/geometry )
	r_suggests_rgl? ( sci-CRAN/rgl )
"
DEPEND="sci-CRAN/misc3d"
RDEPEND="${DEPEND-} ${R_SUGGESTS-}"