SnapGrid

References
public abstract class SnapGrid
Base class for point picking snapping grids.

Methods

Draw

#
public abstract void Draw(RhinoViewport viewport, DisplayPipeline display, Color colour, int thickness)
Draw this grid in a viewport.
viewport (RhinoViewport)
display (DisplayPipeline)
colour (Color)
thickness (int)

ProjectToSpace

#
public abstract Point3d ProjectToSpace(Point3d point)
Project a point to the snapping space. This may for example be a plane or circle depending on whether the grid is planar or spherical.
point (Point3d)

ProjectToVertex

#
public abstract Point3d ProjectToVertex(Point3d point)
Project a point in the snapping space to the nearest grid vertex.
point (Point3d)