Inheritance diagram for oaDonut:
Public Methods | |
void | getHoleBBox (oaBox &bBox) const |
void | getCenter (oaPoint &point) const |
oaDist | getRadius () const |
oaDist | getHoleRadius () const |
void | getBoundary (oaPointArray &points, oaUInt4 numSides=20) const |
void | setCenter (const oaPoint ¢er) |
void | setRadius (oaDist radius) |
void | setHoleRadius (oaDist holeRadius) |
void | setRadii (oaDist radius, oaDist holeRadius) |
oaPolygon * | convertToPolygon (oaUInt4 numSides=20) |
Static Public Methods | |
oaDonut * | create (oaBlock *block, oaLayerNum layerNum, oaPurposeNum purposeNum, const oaPoint ¢er, oaDist radius, oaDist holeRadius) |
void | genBoundary (const oaPoint ¢er, oaDist radius, oaDist holeRadius, oaUInt4 numSides, oaPointArray &boundary) |
|
This function converts this donut to a polygon using the specified number of sides. The pointer to the polygon is returned.
|
|
This function creates a donut with the specified attributes. The specified radii are checked to verify the inner radius is less than the outer radius.
|
|
This function fills out boundary with the bounding polygon of a donut with the specified parameters. The polygon is generated with the number of sides specified by numSides.
|
|
This function fills out points with the boundary polygon of this donut. The polygon is generated with the number of sides specified by numSides.
|
|
This function fills out point with the center point of this donut.
|
|
This function fills out bBox with the hole bBox of this donut.
|
|
This function returns the inner radius of this donut. |
|
This function returns the outer radius of this donut. |
|
This function sets the center of this donut to the specified value.
|
|
This function sets the inner radius of this donut to the specified value.
|
|
This function sets the inner and outer radii of this donut to the specified values.
|
|
This function sets the outer radius of this donut to the specified value.
|
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.