I'm trying to compunte a triangulation in R with package RTriangle. Here's my code
pslgobj<-pslg(coord_rid[,1:2],S=Boundaries)
Where coord_rid
contains all the coordinates of 911 points, and Boundaries
contains the segments for the region boundaries (connections from point #580 to #911).
So I can compute the (Delaunay) triangulation
mesh_rid<-triangulate(pslgobj,Y=TRUE,D=TRUE)
But if I control the number of points used in the triangulation
dim(mesh_rid$P)
I can see 1006 points, not 911. How can I prohibit the insertion of new points in trinagulate
command?