CODLineComponent::CalculateMovedVertices

OD_MOVEVERTEX_RC CODLineComponent::CalculateMovedVertices(int nIndex, int nOffsetX, int nOffsetY)

Calculates the new position of a vertex given an offset.

Defined in: OdLineComp.cpp

Return Value

Non-zero if move operation was valid.

Parameters

nIndex

Index of vertex to be moved.

nOffsetX

X-component of vertex offset.

nOffsetY

Y-component of vertex offset.

Comments

This function overrides the base class version in order to prevent vertices from being moved when the line is orthogonal.