All Frameworks  Class Hierarchy  This Framework  Indexes   

GMModelInterfaces Interface CATCGMTessBody

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface CATCGMTessBody

Class that constructs CATIPolySurface's and CATIPolyCurve's instances with the tessellated data computed from a CATBody.
The main methods of the class are GetPolySurface () and GetPolyCurve (). Given a CATFace, GetPolySurface () returns a CATIPolySurface as an interface to the tessellated data for the geometry of the CATFace (CATSurface.) The CATIPolySurface's are oriented with respect to the CATBody. They should therefore all have consistent orientations. Given a CATFace and a CATEdge, GetPolyCurve (), returns a CATIPolyCurve (more specifically: a CATPolySurfaceVertexLine) as an interface to the tessellated data for the geometry of the curve lying on the surface. Around an edge, all CATIPolyCurve's have the same orientation. If an edge belongs to a wire, then GetPolyCurve () returns the tessellation of the underlying curve given the CATEdge. New CATIPolySurface's or CATIPolyCurve's may be created each time a method is called for a given CATFace or CATEdge. However these CATIPolySurface's and CATIPolyCurve's refer to identical tessellation data. All instances returned by the methods are ref-counted and must be released by the caller.


Method Index


o GetBody()
Returns a reference to the CATBody that is tessellated.
o GetPolyCurve(CATFace&,CATEdge&,CATIPolyCurve*&)
o GetPolyCurve(CATEdge&,CATIPolyCurve*&)
o GetPolySurface(CATFace&,CATIPolySurface*&)
o GetSag()
Returns the sag of the tessellation data.

Methods


o GetBody
public virtual GetBody()
Returns a reference to the CATBody that is tessellated.
Returns:
The CATBody that is tessellated.
o GetPolyCurve
public virtual GetPolyCurve( iFace,
iEdge,
oPolyCurve)
o GetPolyCurve
public virtual GetPolyCurve( iEdge,
oPolyCurve)
o GetPolySurface
public virtual GetPolySurface( iFace,
oPolySurface)
o GetSag
public virtual GetSag()
Returns the sag of the tessellation data.
Returns:
The sag of the tessellation data.

This object is included in the file: CATCGMTessBody.h
If needed, your Imakefile.mk should include the module: CATGMModelInterfaces

Copyright © 2003, Dassault Systèmes. All rights reserved.