OCC Main Page | FoundationClasses | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

FoundationClasses
TKMath
Poly


Poly Class Reference

This package provides classes and services to
handle :

* 3D triangular polyhedrons.

* 3D polygons.

* 2D polygon.

* Tools to dump, save and restore those objects.
.

#include <Poly.hxx>


Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)

Static Public Member Functions

static Standard_EXPORT void Write (const Handle(Poly_Triangulation)&T, Standard_OStream &OS, const Standard_Boolean Compact=Standard_True)
 Writes the content of the triangulation <t> on the
stream <os>. If <compact> is true this is a "save"
format intended to be read back with the Read
method. If compact is False it is a "Dump" format
intended to be informative.
.
static Standard_EXPORT void Write (const Handle(Poly_Polygon3D)&P, Standard_OStream &OS, const Standard_Boolean Compact=Standard_True)
 Writes the content of the 3D polygon

on the
stream <os>. If <compact> is true this is a "save"
format intended to be read back with the Read
method. If compact is False it is a "Dump" format
intended to be informative.
.

static Standard_EXPORT void Write (const Handle(Poly_Polygon2D)&P, Standard_OStream &OS, const Standard_Boolean Compact=Standard_True)
 Writes the content of the 2D polygon

on the
stream <os>. If <compact> is true this is a "save"
format intended to be read back with the Read
method. If compact is False it is a "Dump" format
intended to be informative.
.

static Standard_EXPORT void Dump (const Handle(Poly_Triangulation)&T, Standard_OStream &OS)
 Dumps the triangulation. This is a call to the
previous method with Comapct set to False.
.
static Standard_EXPORT void Dump (const Handle(Poly_Polygon3D)&P, Standard_OStream &OS)
 Dumps the 3D polygon. This is a call to the
previous method with Comapct set to False.
.
static Standard_EXPORT void Dump (const Handle(Poly_Polygon2D)&P, Standard_OStream &OS)
 Dumps the 2D polygon. This is a call to the
previous method with Comapct set to False.
.
static Standard_EXPORT Handle_Poly_Triangulation ReadTriangulation (Standard_IStream &IS)
 Reads a triangulation from the stream <is>.
.
static Standard_EXPORT Handle_Poly_Polygon3D ReadPolygon3D (Standard_IStream &IS)
 Reads a 3d polygon from the stream <is>.
.
static Standard_EXPORT Handle_Poly_Polygon2D ReadPolygon2D (Standard_IStream &IS)
 Reads a 2D polygon from the stream <is>.
.
static Standard_EXPORT void ComputeNormals (const Handle(Poly_Triangulation)&Tri)
 Compute node normals for face triangulation
as mean normal of surrounding triangles
.


Member Function Documentation

static Standard_EXPORT void Poly::ComputeNormals const Handle(Poly_Triangulation)&  Tri  )  [static]
 

static Standard_EXPORT void Poly::Dump const Handle(Poly_Polygon2D)&  P,
Standard_OStream OS
[static]
 

static Standard_EXPORT void Poly::Dump const Handle(Poly_Polygon3D)&  P,
Standard_OStream OS
[static]
 

static Standard_EXPORT void Poly::Dump const Handle(Poly_Triangulation)&  T,
Standard_OStream OS
[static]
 

void Poly::operator delete void *  anAddress  )  [inline]
 

void* Poly::operator new size_t  size  )  [inline]
 

void* Poly::operator new size_t  ,
void *  anAddress
[inline]
 

static Standard_EXPORT Handle_Poly_Polygon2D Poly::ReadPolygon2D Standard_IStream &  IS  )  [static]
 

static Standard_EXPORT Handle_Poly_Polygon3D Poly::ReadPolygon3D Standard_IStream &  IS  )  [static]
 

static Standard_EXPORT Handle_Poly_Triangulation Poly::ReadTriangulation Standard_IStream &  IS  )  [static]
 

static Standard_EXPORT void Poly::Write const Handle(Poly_Polygon2D)&  P,
Standard_OStream OS,
const Standard_Boolean  Compact = Standard_True
[static]
 

static Standard_EXPORT void Poly::Write const Handle(Poly_Polygon3D)&  P,
Standard_OStream OS,
const Standard_Boolean  Compact = Standard_True
[static]
 

static Standard_EXPORT void Poly::Write const Handle(Poly_Triangulation)&  T,
Standard_OStream OS,
const Standard_Boolean  Compact = Standard_True
[static]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 13:13:12 2008 for OpenCASCADE by  doxygen 1.4.1