CODInsertVertexCommand Class

class CODInsertVertexCommand: public CODCommand

Inserts a vertex into components.

Defined in: OdInsertVertexCmd.h

Class Members

 CODInsertVertexCommand(CODModel* pModel)

Constructor.

virtual  ~CODInsertVertexCommand()

Destructor.

int m_nVertexIndex

The index of the inserted vertex.

CPoint m_ptVertex

The position value of the inserted vertex.

int  GetVertexIndex() const

Gets the index to insert the vertex at.

void  SetVertexIndex(const int nVertexIndex)

Sets the index to insert the vertex at.

CPoint  GetVertexPoint() const

Gets the value of the vertex to insert.

void  SetVertexPoint(CPoint ptVertex)

Sets the value of the vertex to insert.

virtual BOOL  Execute()

Inserts the vertex.

virtual sfl::MvcCommand*  Inverse() const

Create a command which performs the inverse of this command.

virtual sfl::MvcCommand*  Dup() const

Make a copy of this command

virtual void  Sprint(CString& strCmd)

Print information on this command for logging purposes.