# DataExchange
TKIGES
BRepToIGESBRep

# BRepToIGESBRep_Entity Class Reference

provides methods to transfer BRep entity from CASCADE to IGESBRep.

`#include <BRepToIGESBRep_Entity.hxx>`

Inheritance diagram for BRepToIGESBRep_Entity:

[legend]

## Public Member Functions

void * | operator new (size_t, void *anAddress)
void * | operator new (size_t size)
void | operator delete (void *anAddress)
Standard_EXPORT | BRepToIGESBRep_Entity ()
| Creates a tool Entity .
Standard_EXPORT void | Clear ()
| Clears the contents of the fields .
Standard_EXPORT void | TransferVertexList ()
| Create the VertexList entity .
Standard_EXPORT Standard_Integer | IndexVertex (const TopoDS_Vertex &myvertex) const
| Returns the index of <myvertex> in "myVertices" .
Standard_EXPORT Standard_Integer | AddVertex (const TopoDS_Vertex &myvertex)
| Stores <myvertex> in "myVertices" Returns the index of <myvertex>. .
Standard_EXPORT void | TransferEdgeList ()
| Transfert an Edge entity from TopoDS to IGES .
Standard_EXPORT Standard_Integer | IndexEdge (const TopoDS_Edge &myedge) const
| Returns the index of <myedge> in "myEdges" .
Standard_EXPORT Standard_Integer | AddEdge (const TopoDS_Edge &myedge, const Handle(IGESData_IGESEntity)&mycurve3d)
| Stores <myedge> in "myEdges" and <mycurve3d> in "myCurves". Returns the index of <myedge>. .
virtual Standard_EXPORT Handle_IGESData_IGESEntity | TransferShape (const TopoDS_Shape &start)
| Returns the result of the transfert of any Shape If the transfer has failed, this member return a NullEntity. .
Standard_EXPORT Handle_IGESData_IGESEntity | TransferEdge (const TopoDS_Edge &myedge)
| Transfert an Edge entity from TopoDS to IGES If this Entity could not be converted, this member returns a NullEntity. .
Standard_EXPORT Handle_IGESData_IGESEntity | TransferEdge (const TopoDS_Edge &myedge, const TopoDS_Face &myface, const Standard_Real length)
| Transfert an Edge entity from TopoDS to IGES If this Entity could not be converted, this member returns a NullEntity. .
Standard_EXPORT Handle_IGESSolid_Loop | TransferWire (const TopoDS_Wire &mywire, const TopoDS_Face &myface, const Standard_Real length)
| Transfert a Wire entity from TopoDS to IGES. Returns the curve associated to mywire in the parametric space of myface. If this Entity could not be converted, this member returns a NullEntity. .
Standard_EXPORT Handle_IGESSolid_Face | TransferFace (const TopoDS_Face &start)
| Transfert a Face entity from TopoDS to IGES If this Entity could not be converted, this member returns a NullEntity. .
Standard_EXPORT Handle_IGESSolid_Shell | TransferShell (const TopoDS_Shell &start)
| Transfert an Shell entity from TopoDS to IGES If this Entity could not be converted, this member returns a NullEntity. .
Standard_EXPORT Handle_IGESSolid_ManifoldSolid | TransferSolid (const TopoDS_Solid &start)
| Transfert a Solid entity from TopoDS to IGES If this Entity could not be converted, this member returns a NullEntity. .
Standard_EXPORT Handle_IGESData_IGESEntity | TransferCompSolid (const TopoDS_CompSolid &start)
| Transfert an CompSolid entity from TopoDS to IGES If this Entity could not be converted, this member returns a NullEntity. .
Standard_EXPORT Handle_IGESData_IGESEntity | TransferCompound (const TopoDS_Compound &start)
| Transfert a Compound entity from TopoDS to IGES If this Entity could not be converted, this member returns a NullEntity. .

## Private Attributes

TopTools_IndexedMapOfShape | myVertices
TopTools_IndexedMapOfShape | myEdges
TColStd_IndexedMapOfTransient | myCurves
Handle_IGESSolid_EdgeList | myEdgeList
Handle_IGESSolid_VertexList | myVertexList

## Constructor & Destructor Documentation

Standard_EXPORT BRepToIGESBRep_Entity::BRepToIGESBRep_Entity | ( |  | ) |

## Member Function Documentation

Standard_EXPORT Standard_Integer BRepToIGESBRep_Entity::AddEdge | ( | const TopoDS_Edge & | myedge,
|  | const Handle(IGESData_IGESEntity)& | mycurve3d
| ) |

Standard_EXPORT Standard_Integer BRepToIGESBRep_Entity::AddVertex | ( | const TopoDS_Vertex & | myvertex | ) |

Standard_EXPORT void BRepToIGESBRep_Entity::Clear | ( |  | ) |

Standard_EXPORT Standard_Integer BRepToIGESBRep_Entity::IndexEdge | ( | const TopoDS_Edge & | myedge | ) | const

Standard_EXPORT Standard_Integer BRepToIGESBRep_Entity::IndexVertex | ( | const TopoDS_Vertex & | myvertex | ) | const

void BRepToIGESBRep_Entity::operator delete | ( | void * | anAddress | ) | `[inline]`

| Reimplemented from BRepToIGES_BREntity.

void* BRepToIGESBRep_Entity::operator new | ( | size_t | size | ) | `[inline]`

| Reimplemented from BRepToIGES_BREntity.

void* BRepToIGESBRep_Entity::operator new | ( | size_t | ,
|  | void * | anAddress
| ) | `[inline]`

| Reimplemented from BRepToIGES_BREntity.

Standard_EXPORT Handle_IGESData_IGESEntity BRepToIGESBRep_Entity::TransferCompound | ( | const TopoDS_Compound & | start | ) |

Standard_EXPORT Handle_IGESData_IGESEntity BRepToIGESBRep_Entity::TransferCompSolid | ( | const TopoDS_CompSolid & | start | ) |

Standard_EXPORT Handle_IGESData_IGESEntity BRepToIGESBRep_Entity::TransferEdge | ( | const TopoDS_Edge & | myedge,
|  | const TopoDS_Face & | myface,
|  | const Standard_Real | length
| ) |

Standard_EXPORT Handle_IGESData_IGESEntity BRepToIGESBRep_Entity::TransferEdge | ( | const TopoDS_Edge & | myedge | ) |

Standard_EXPORT void BRepToIGESBRep_Entity::TransferEdgeList | ( |  | ) |

Standard_EXPORT Handle_IGESSolid_Face BRepToIGESBRep_Entity::TransferFace | ( | const TopoDS_Face & | start | ) |

virtual Standard_EXPORT Handle_IGESData_IGESEntity BRepToIGESBRep_Entity::TransferShape | ( | const TopoDS_Shape & | start | ) | `[virtual]`

| Reimplemented from BRepToIGES_BREntity.

Standard_EXPORT Handle_IGESSolid_Shell BRepToIGESBRep_Entity::TransferShell | ( | const TopoDS_Shell & | start | ) |

Standard_EXPORT Handle_IGESSolid_ManifoldSolid BRepToIGESBRep_Entity::TransferSolid | ( | const TopoDS_Solid & | start | ) |

Standard_EXPORT void BRepToIGESBRep_Entity::TransferVertexList | ( |  | ) |

Standard_EXPORT Handle_IGESSolid_Loop BRepToIGESBRep_Entity::TransferWire | ( | const TopoDS_Wire & | mywire,
|  | const TopoDS_Face & | myface,
|  | const Standard_Real | length
| ) |

## Field Documentation

TColStd_IndexedMapOfTransient BRepToIGESBRep_Entity::myCurves`[private]`

Handle_IGESSolid_EdgeList BRepToIGESBRep_Entity::myEdgeList`[private]`

TopTools_IndexedMapOfShape BRepToIGESBRep_Entity::myEdges`[private]`

Handle_IGESSolid_VertexList BRepToIGESBRep_Entity::myVertexList`[private]`

TopTools_IndexedMapOfShape BRepToIGESBRep_Entity::myVertices`[private]`

The documentation for this class was generated from the following file:

- BRepToIGESBRep_Entity.hxx