private AddFace ( GeometryObject obj ) : void | ||
obj | GeometryObject | a geometry object of element. |
return | void |
private void AddFace(GeometryObject obj)
{
Face face = obj as Face;
// get a triangular mesh approximation to the face.
Mesh mesh = face.Triangulate();
if (null != mesh)
{
AddMesh(mesh);
}
}