Public Attributes

SnapInfo Struct Reference

Search for all occurrences

Detailed Description

Describes the snap settings used for snap operations.

See also:
Osnap, IOsnapManager, BaseObject::Snap(), Mesh::Snap()

#include <snap.h>

Inheritance diagram for SnapInfo:
Inheritance graph
[legend]

List of all members.

Public Attributes

int  snapType
  Snap settings.
int  strength
  Maximum snap distance.
int  vertPriority
  Geometry vertex priority.
int  edgePriority
  Geometry edge priority.
int  gIntPriority
  Grid intersection priority.
int  gLinePriority
  Grid line priority.
DWORD  flags
  Snap flags.
Matrix3  plane
  Plane to use for snap computations.
Point3  bestWorld
  Best snap point found in world space.
Point2  bestScreen
  Best snap point found in screen space.
int  bestDist
  Best snap point distance.
int  priority
  Best snap point's priority.

Member Data Documentation

int snapType

Snap settings.

See also:
snap_types
int strength

Maximum snap distance.

Geometry vertex priority.

Geometry edge priority.

Grid intersection priority.

Grid line priority.

DWORD flags

Snap flags.

See also:
snap_flags

Plane to use for snap computations.

Best snap point found in world space.

Best snap point found in screen space.

int bestDist

Best snap point distance.

int priority

Best snap point's priority.