use vector macros in rtgeom library