Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
BRepLib_MakePolygon Class Reference

Class to build polygonal wires.

A polygonal wire may be build from

More...

#include <BRepLib_MakePolygon.hxx>

Inheritance diagram for BRepLib_MakePolygon:
Inheritance graph
[legend]

Public Member Functions

DEFINE_STANDARD_ALLOC BRepLib_MakePolygon ()
 Creates an empty MakePolygon.

 BRepLib_MakePolygon (const gp_Pnt &P1, const gp_Pnt &P2)
 BRepLib_MakePolygon (const gp_Pnt &P1, const gp_Pnt &P2, const gp_Pnt &P3, const Standard_Boolean Close=Standard_False)
 BRepLib_MakePolygon (const gp_Pnt &P1, const gp_Pnt &P2, const gp_Pnt &P3, const gp_Pnt &P4, const Standard_Boolean Close=Standard_False)
 BRepLib_MakePolygon (const TopoDS_Vertex &V1, const TopoDS_Vertex &V2)
 BRepLib_MakePolygon (const TopoDS_Vertex &V1, const TopoDS_Vertex &V2, const TopoDS_Vertex &V3, const Standard_Boolean Close=Standard_False)
 BRepLib_MakePolygon (const TopoDS_Vertex &V1, const TopoDS_Vertex &V2, const TopoDS_Vertex &V3, const TopoDS_Vertex &V4, const Standard_Boolean Close=Standard_False)
void Add (const gp_Pnt &P)
void Add (const TopoDS_Vertex &V)
Standard_Boolean Added () const
 Returns True if the last vertex or point was
succesfully added.

void Close ()
const TopoDS_VertexFirstVertex () const
const TopoDS_VertexLastVertex () const
const TopoDS_EdgeEdge () const
 Returns the last edge added to the polygon.


 operator TopoDS_Edge () const
const TopoDS_WireWire () const
 operator TopoDS_Wire () const

Detailed Description

     - 2,4,3 points. <br>



Constructor & Destructor Documentation


Member Function Documentation

BRepLib_MakePolygon::operator TopoDS_Edge ( ) const
BRepLib_MakePolygon::operator TopoDS_Wire ( ) const

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