#include <FxOsnapPoint.h>
|
enum | OsnapMode {
kOsModeStart = -2
, kOsModeUndefined = -1
, kOsModeNone = 0
, kOsModeFirst = 1
,
kOsModeEnd = 1
, kOsModeMid = 2
, kOsModeCen = 3
, kOsModeNode = 4
,
kOsModeQuad = 5
, kOsModeIntersec = 6
, kOsModeIns = 7
, kOsModePerp = 8
,
kOsModeTan = 9
, kOsModeNear = 10
, kOsModeGeoCen = 11
, kOsModeApint = 12
,
kOsModeExt = 13
, kOsModePar = 14
, kOsModeDisabled = 15
, kOsModeCustom = 16
,
kOsModeLast = 16
} |
|
Definition at line 29 of file FxOsnapPoint.h.
◆ OsnapMode
Enumerator |
---|
kOsModeStart | |
kOsModeUndefined | |
kOsModeNone | |
kOsModeFirst | |
kOsModeEnd | |
kOsModeMid | |
kOsModeCen | |
kOsModeNode | |
kOsModeQuad | |
kOsModeIntersec | |
kOsModeIns | |
kOsModePerp | |
kOsModeTan | |
kOsModeNear | |
kOsModeGeoCen | |
kOsModeApint | |
kOsModeExt | |
kOsModePar | |
kOsModeDisabled | |
kOsModeCustom | |
kOsModeLast | |
Definition at line 33 of file FxOsnapPoint.h.
◆ ~CFxOsnapPoint()
virtual CFxOsnapPoint::~CFxOsnapPoint |
( |
| ) |
|
|
virtual |
◆ Clear()
virtual void CFxOsnapPoint::Clear |
( |
| ) |
|
|
pure virtual |
Description: Clears this object to its blank/initial state.
◆ ConvertOsnapMode() [1/2]
Description: Convert osnap mode. Arguments:
- Parameters
-
Return Value: .
◆ ConvertOsnapMode() [2/2]
Description: Convert osnap mode. Arguments:
- Parameters
-
Return Value: .
◆ GetCenterColor()
Description: Gets a center color. Arguments:
- Parameters
-
[in,out] | pContext | If non-null, the context. |
Return Value: The center color.
◆ GetCenterSize()
static int CFxOsnapPoint::GetCenterSize |
( |
| ) |
|
|
static |
Description: Gets the center size.
Return Value: The center size.
◆ GetMode()
Description: Gets the mode. Return Value: The mode.
◆ GetModeName()
virtual CFxString CFxOsnapPoint::GetModeName |
( |
| ) |
const |
|
pure virtual |
Description: Gets the mode name.
Return Value: The mode name.
◆ GetOsnapColor()
static ODCOLORREF CFxOsnapPoint::GetOsnapColor |
( |
| ) |
|
|
static |
Description: Gets the osnap color.
Return Value: The osnap color.
◆ GetOsnapDistance()
static unsigned int CFxOsnapPoint::GetOsnapDistance |
( |
| ) |
|
|
static |
Description: Gets the osnap distance.
Return Value: The osnap distance.
◆ GetOsnapSize()
static unsigned int CFxOsnapPoint::GetOsnapSize |
( |
| ) |
|
|
static |
Description: Gets the osnap size.
Return Value: The osnap size.
◆ GetPoint()
virtual const OdGePoint3d& CFxOsnapPoint::GetPoint |
( |
| ) |
const |
|
pure virtual |
Description: Gets the point.
Return Value: The point.
◆ GetSubentPath()
Description: Gets the subent path. Arguments:
- Parameters
-
first | Set to 'false' if you need second entity for intersection osnap. Return Value: The subent path. |
◆ IsEqualTo()
virtual bool CFxOsnapPoint::IsEqualTo |
( |
const CFxOsnapPoint & |
osnapPoint, |
|
|
double |
pointTol |
|
) |
| const |
|
pure virtual |
Description: Query if 'osnapPoint' is equal to. Arguments:
- Parameters
-
osnapPoint | The osnap point. |
pointTol | The point tolerance. |
Return Value: true if equal to, false if not.
◆ operator=()
◆ Set() [1/2]
Description: Sets osnap parameters. Arguments:
- Parameters
-
osnapMode | The osnap mode. |
point | The point. |
first | The subent path. |
second | Second path for intersection osnap. |
◆ Set() [2/2]
Description: Sets. Arguments:
- Parameters
-
The documentation for this class was generated from the following file: