GMOperatorsInterfaces CATHLRBodySubEdgeIterator

Usage: you must use this class as is. You should never derive it.


public class CATHLRBodySubEdgeIterator

Class defining an iterator over the sub-edges of an input body instance included in an HLR computation.
This iterator can only be accessed via a CATHLRBodyInstanceIterator object. It iterates over all the sub-edges of a body instance and provides the capability to compute the projection of the current sub-edge onto the projection plane.

See also:
, ,


Method Index


o Begin()
Sets the iterator to the beginning.
o ComputeProjection()
Computes on the fly the projection of the current sub-edge on the projection plane.
o End()
Notifies if the iterator has reached the end.
o GetCellSupport()
Returns the CATCell support for the current sub-edge.
o GetVisibility()
Returns the computed visibility for the current sub-edge.
o IsAnOutline()
Notifies if the current sub-edge is an outline.
o operator++()
Increments the iterator.

Methods


o Begin
public virtual Begin()
Sets the iterator to the beginning.
o ComputeProjection
public virtual ComputeProjection()
Computes on the fly the projection of the current sub-edge on the projection plane. Returns NULL if the current sub-edge is seen as "Degenerated" or if the projected curve cannot be computed. It is the responsibility of the caller to manage the life cycle of the returned CATPCurve.
Returns:
The projected CATPCurve.
o End
public virtual End()
Notifies if the iterator has reached the end.
Returns:
TRUE if the iterator has reached the end, FALSE otherwise.
o GetCellSupport
public virtual GetCellSupport()
Returns the CATCell support for the current sub-edge. The support cell could be a CATFace of the current body instance, if the sub-edge is a silhouette which is generated from the interior of the face. Otherwise, the support is the originating CATEdge. This cell must be associated with the transformation of the current body instance to be represented correctly in the context of the input HLR scene.
Returns:
The support CATCell.
o GetVisibility
public virtual GetVisibility()
Returns the computed visibility for the current sub-edge.
Returns:
The CATHLRVisibility value.
o IsAnOutline
public virtual IsAnOutline()
Notifies if the current sub-edge is an outline.
Returns:
TRUE if the current sub-edge is an outline, FALSE otherwise.
o operator++
public virtual operator++()
Increments the iterator.

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

Copyright © 1999-2015, Dassault Systèmes. All rights reserved.