oaOccDonut Class Reference

Inheritance diagram for oaOccDonut:

oaOccShape oaBlockObject oaDesignObject oaObject


Public Methods

void getHoleBBox (oaBox &bBox) const
void getCenter (oaPoint &point) const
oaUInt4 getRadius () const
oaUInt4 getHoleRadius () const
void getBoundary (oaPointArray &points, oaUInt4 numSides=20) const

Detailed Description

The oaOccDonut class implements an unique occurrence of an oaDonut object in a design hierarchy.


Member Function Documentation

void oaOccDonut::getBoundary oaPointArray &    points,
oaUInt4    numSides = 20
const
 

This function fills out 'points' with the boundary polygon of the donut from which this occDonut is generated. The polygon is generated with the number of sides specified by 'numSides'.

Parameters:
points The point array to be filled with the boundary polygon of this occDonut
numSides The number of sides of the boundary polygon
Exceptions:
oacDonutNumSidesInvalid 

void oaOccDonut::getCenter oaPoint &    point const
 

This function fills out 'point' with the center point of this occDonut.

Parameters:
point The point to be filled with the center point of this occDonut

void oaOccDonut::getHoleBBox oaBox &    bBox const
 

This function fills out 'bBox' with the hole bBox of this occDonut.

Parameters:
bBox The bounding box to be filled

oaUInt4 oaOccDonut::getHoleRadius   const
 

This function returns the inner radius of this occDonut.

oaUInt4 oaOccDonut::getRadius   const
 

This function returns the outer radius of this occDonut.


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

Return to top of page