# NOT RUN {
getPoints(x = gtGeoms$polygon)
getPoints(x = gtGeoms$point)
# for raster objects, the @point slot is extracted from its compact form
gtGeoms$grid$continuous@point
getPoints(x = gtGeoms$grid$continuous)
# }
Run the code above in your browser using DataLab