This reference page is linked to from the following overview
topics: Snapping.
#include <osnapmk.h>
Class Description
- See also:
- Class Osnap, Class
IOsnapManager,
Class GraphicsWindow, Class IPoint3.
- Description:
- This class is used for drawing Osnap markers in the viewports. The marker
is drawn as a polyline. The class maintains a cache of the points
for the polyline. There are constructors used to initialize the
cache and a display()
method to draw the marker in the specified viewport.
The Osnap class must
implement the GetMarkers() method which typically returns
pointers to these static instances.
Constructor & Destructor Documentation
- Parameters:
- int n
The number of points in the marker polyline.
IPoint3
*ppt
The array of points for the polyline.
int *pes
The edge state array. This is an array that indicates if the 'n-th'
edge is one of three state:
GW_EDGE_SKIP
Nonexistent - totally invisible.
GW_EDGE_VIS
Exists and is solid.
GW_EDGE_INVIS
Exists and is hidden - shown as a dotted line.
You may pass NULL for this array and the method will assume that
the edges are all solid.
Member Function Documentation