Description
Adds new faces which consists of three ordered vertices to the shell, and retrieves RFEntityID values indicating entity ID of the new faces.
Syntax
Function RFShell.AddFaces(numFace As Long, pVertexID1s As RFEntityID, pVertexID2s As RFEntityID, pVertexID3s As RFEntityID, bCheckManifold As Boolean, pFaceIDs As RFEntityID) As RFErrorCode
The AddFaces syntax has these parts:
| Part | Description |
|---|---|
| numFace | [IN] Long Required. The number of faces to be added. |
| pVertexID1s | [IN] RFEntityID Required. EntityIDs of the first vertices. |
| pVertexID2s | [IN] RFEntityID Required. EntityIDs of the second vertices. |
| pVertexID3s | [IN] RFEntityID Required. EntityIDs of the third vertices. |
| bCheckManifold | [IN] Boolean Required. It should be set TRUE to prevent a non-manifold edge from being generated. |
| pFaceIDs | [OUT] RFEntityID Required. EntityIDs of the new faces. |
Remarks