CODPointComponent::SetVertex

CPoint CODPointComponent::SetVertex(const int nIndex, const CPoint& ptVertex)

Sets a vertex of the component.

Defined in: OdPointComp.cpp

Return Value

The value of the vertex that was already there.

Parameters

nIndex

The zero-based index of the vertex in the array.

ptVertex

The new vertex position value in world coordinates.

Comments

The vertex parameter is converted to local coordinates by performing an inverse transform on the point.