1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/atoms.R
\name{get.point3d}
\alias{get.point3d}
\title{get.point3d}
\usage{
get.point3d(atom)
}
\arguments{
\item{atom}{The atom to query}
}
\value{
A 3-element numeric vector representing the X, Y and Z coordinates.
}
\description{
Get the 3D coordinates of the atom.
}
\details{
In case, coordinates are unavailable (e.g., molecule was read in from a
SMILES file) or have not been generated yet, `NA`'s are returned for the
X, Y and Z coordinates.
}
\examples{
\dontrun{
atoms <- get.atoms(mol)
coords <- do.call('rbind', lapply(apply, get.point3d))
}
}
\seealso{
\code{\link{get.point2d}}
}
\author{
Rajarshi Guha (\email{rajarshi.guha@gmail.com})
}
|