This class processes one or more closed polygons as a single polygon. Corresponding C++ library: AcMPolygonObj15
File: DbMPolygon.h
Module: API Reference
(Inherited from OdDbEntity) | |
Creates a new instance of a multi polygon object with default parameters. | |
Destroys the multi polygon object. | |
(Inherited from OdDbObject) |
| |
Declares the loop directions. |
(Inherited from OdDbEntity) | |
(Inherited from OdDbEntity) | |
(Inherited from OdDbEntity) | |
(Inherited from OdDbObject) | |
(Inherited from OdDbObject) | |
(Inherited from OdDbEntity) | |
(Inherited from OdDbEntity) | |
(Inherited from OdDbObject) | |
(Inherited from OdDbEntity) | |
(Inherited from OdDbObject) | |
(Inherited from OdDbEntity) | |
(Inherited from OdDbEntity) |
(Inherited from OdDbEntity) | |
(Inherited from OdDbObject) | |
Adds the specified persistent reactor to this object's reactor list. (Inherited from OdDbObject) | |
Adds the specified transient reactor to this object's reactor list. (Inherited from OdDbObject) | |
Increments the reference count of this object. (Inherited from OdDbObject) | |
(Inherited from OdDbEntity) | |
This is the overview for the appendLoopFromBoundary method overload. | |
Appends a polygon loop. | |
This function appends this object to the specified owner object during the deep or wblock clone operation. (Inherited from OdDbEntity) | |
This function appends this object to the specified owner object during the deep or wblock clone operation. (Inherited from OdDbObject) | |
Notification function called each time an Undo operation is performed this object is using partial Undo. (Inherited from OdDbEntity) | |
Notification function called each time an Undo operation is performed this object is using partial Undo. (Inherited from OdDbObject) | |
Throws an exception if this object is not open OdDb::kForNotify. (Inherited from OdDbObject) | |
Throws an exception if this object is not open OdDb::kForRead. (Inherited from OdDbObject) | |
Throws an exception if this object is not open OdDb::kForWrite, and controls automatic undo and notification of modifications. (Inherited from OdDbObject) | |
Perform an audit operation on this object. (Inherited from OdDbObject) | |
Checks loops for intersection and direction. If the cycle is placed at an even level of the tree, and the direction is clockwise, it will be marked as invalid (it will not be displayed). To change direction to the correct one, use balanceTree(). If a cycle intersects with another cycle, the cycle with a higher index will be marked as invalid (not drawn). Loops that have been marked as invalid but have the correct direction and no intersections will be marked as valid and will be drawn again. | |
Checks the direction of the loops and changes it to the correct one. The directivity check is based on the resulting tree from getMPolygonTree. Where the depth of the tree indicates the direction of the loop (even values are counterclockwise, odd are clockwise). If in MPolygon there are loops that are not displayed (invalid), they will be marked again as valid (and will be drawn) if they do not intersect with others. Also the check is done for intersections of the displayed (valid) loops. Intersected loops are marked as invalid, and they will not be drawn. | |
Returns the Object ID of the OdDbBlockTableRecord that owns this entity. (Inherited from OdDbEntity) | |
This is the overview for the boundingBoxIntersectWith method overload. | |
Returns the CastShadows flag for this entity.. (Inherited from OdDbEntity) | |
Returns the cloneMeForDragging flag for this entity. (Inherited from OdDbEntity) | |
Returns the CollisionType for this entity. (Inherited from OdDbEntity) | |
Returns the color information of this entity as an OdCmColor instance. (Inherited from OdDbEntity) | |
Returns the Object ID of the OdDbColor object referenced by this entity. (Inherited from OdDbEntity) | |
Returns the color index of this entity (DXF 62). (Inherited from OdDbEntity) | |
After loading from file, performs necessary actions which require accessing other Database objects. For example, processing round-trip data. (Inherited from OdDbObject) | |
The method should be called from *decomposeForSave()* of custom container objects for owned child objects. It calls child's decomposeForSave() method plus performs other required actions (handOverTo, exchanging XData, etc.) (Inherited from OdDbObject) | |
Notification function called whenever the notifying object has had its clone() member function called. (Inherited from OdDbObject) | |
Copies the contents of the specified object into this object when possible. (Inherited from OdDbEntity) | |
Copies the contents of the specified object into this object when possible. (Inherited from OdDbObject) | |
Creates an OdDbDictionary extension dictionary of this object. (Inherited from OdDbObject) | |
Creates loops from vertices and bulges for empty OdDbMPolygon. | |
Creates loops from entities for an empty OdDbMPolygon. Every ObjectId must be one closed loop. | |
Creates or retrieves the specified Xrecord in this object's extension dictionary. (Inherited from OdDbObject) | |
Returns the OdDbDatabase that contains this object. (Inherited from OdDbObject) | |
This is the overview for the decomposeForSave method overload. | |
Performs a deep clone of this object. (Inherited from OdDbObject) | |
Recursively deletes the tree created by OdDbMPolygon::getMPolygonTree(OdDbMPolygonNode*& loopNode). | |
(Inherited from OdDbEntity) | |
Controls the undo recording of this object in OdDbDatabase. (Inherited from OdDbObject) | |
Downgrades this object from OdDb::kForWrite to OdDb::kForRead (Inherited from OdDbObject) | |
Notification function called when this entity is involved in a drag operation. (Inherited from OdDbEntity) | |
Returns a pointer to the OdGiDrawable for the object. If the object doesn't have an associated OdGiDrawable object, this function returns NULL. (Inherited from OdDbEntity) | |
Returns a pointer to the OdGiDrawable for the object. If the object doesn't have an associated OdGiDrawable object, this function returns NULL. (Inherited from OdDbObject) | |
Reads the .dwg file format data of this object from the specified file. (Inherited from OdDbObject) | |
Reads the .dwg file data of this object. (Inherited from OdDbEntity) | |
Reads the .dwg file data of this object. | |
Reads the .dwg file data of this object. (Inherited from OdDbObject) | |
Writes the .dwg file format data of this object to the specified filer. (Inherited from OdDbObject) | |
Writes the .dwg file data of this object. (Inherited from OdDbEntity) | |
Writes the .dwg file data of this object. | |
Writes the .dwg file data of this object. (Inherited from OdDbObject) | |
Reads the DXF format data of this object from the specified filer. (Inherited from OdDbEntity) | |
Reads the DXF format data of this object from the specified filer. (Inherited from OdDbObject) | |
Reads the DXF data of this object. (Inherited from OdDbEntity) | |
Reads the DXF data of this object. | |
Reads the DXF data of this object. (Inherited from OdDbObject) | |
Reads the DXF R12 format data of this object. (Inherited from OdDbEntity) | |
Reads the DXF R12 format data of this object. (Inherited from OdDbObject) | |
Writes the DXF format data of this object to the specified filer. (Inherited from OdDbEntity) | |
Writes the DXF format data of this object to the specified filer. (Inherited from OdDbObject) | |
Writes the DXF data of this object. (Inherited from OdDbEntity) | |
Writes the DXF data of this object. | |
Writes the DXF data of this object. (Inherited from OdDbObject) | |
Writes the DXF data of this object. (Inherited from OdDbEntity) | |
Writes the DXF data of this object. (Inherited from OdDbObject) | |
Returns the elevation of this entity in the OCS. | |
Returns the OdCmEntityColor settings of this object. (Inherited from OdDbEntity) | |
Sets the erased mode of this object. (Inherited from OdDbObject) | |
Notification function called whenever an object has been erased or unerased. (Inherited from OdDbObject) | |
Evaluates the hatch for this MPolygon entity. | |
Explodes this entity into a set of simpler entities. (Inherited from OdDbEntity) | |
Explodes this entity into a set of simpler entities. (Inherited from OdDbEntity) | |
Explodes this entity into a set of simpler entities, and adds them to the specified block. (Inherited from OdDbEntity) | |
Explodes this entity into a set of simpler entities, and adds them to the specified block table record. (Inherited from OdDbEntity) | |
Returns the Object ID of this object's extension dictionary. (Inherited from OdDbObject) | |
Returns the area of this entity. | |
Returns an array of indices of the loops that are children of the specified loop. | |
Returns the CLSID value associated with this object. (Inherited from OdDbObject) | |
Finds the closest loop from the OdDbMPolygon within the pick box around the specified 3D point. | |
Is applicable for compound objects only which return the kDrawableIsCompoundObject flag from subSetAttributes(). The matrix returned is the one that is passed to pushModelTransform before rendering nested objects. Default implementation returns OdDb::eNotApplicable and the identity matrix in xM. (Inherited from OdDbEntity) | |
Returns the persistent handle of this database object. (Inherited from OdDbObject) | |
Returns the entity coordinate system matrix. (Inherited from OdDbEntity) | |
This is the overview for the getField method overload. | |
This is the overview for the getFieldDictionary method overload. | |
(Inherited from OdDbEntity) | |
This is the overview for the getGripPoints method overload. | |
(Inherited from OdDbEntity) | |
(Inherited from OdDbEntity) | |
Gets the direction of the specified loop in the closed polygon. | |
Gets the specified loop. | |
Creates a nesting tree of nodes, where the nodes represent the nesting of the loops. | |
Returns the drawing and maintenance release version into which this object must be stored. (Inherited from OdDbObject) | |
Returns the offset vector. | |
This is the overview for the getOsnapPoints method overload. | |
Returns the index of the parent loop, related to the specified loop. | |
Returns the specified pattern definition line. | |
Calculates the OdDbMPolygon perimeter by adding the lengths of all borders. | |
Returns Object IDs of this object's persistent reactors. (Inherited from OdDbObject) | |
Returns the plane that contains this entity. (Inherited from OdDbEntity) | |
Returns the PlotStyleName of this entity. (Inherited from OdDbEntity) | |
Returns all stretch points of this entity. (Inherited from OdDbEntity) | |
(Inherited from OdDbEntity) | |
(Inherited from OdDbEntity) | |
(Inherited from OdDbEntity) | |
Creates a copy of this entity, and applies the supplied transformation to the newly created copy. (Inherited from OdDbEntity) | |
Returns this object's transient reactors. (Inherited from OdDbObject) | |
Notification function called just before an object is deleted from memory. (Inherited from OdDbObject) | |
Notification function called when this entity is involved in a grip operation. (Inherited from OdDbEntity) | |
Returns the OdGsCache of an OdGiDrawable object. (Inherited from OdDbObject) | |
Replaces this database -resident (DBRO) object with the specified non- database -resident (NDBRO) object, while retaining this object's objectId, handle, owner, and reactor list. (Inherited from OdDbObject) | |
Returns the persistent handle of this database object. (Inherited from OdDbObject) | |
Returns true if and only if this object has fields. (Inherited from OdDbObject) | |
This method returns true if objId is the Object ID of a reactor attached to this object. Otherwise, it returns false. (Inherited from OdDbObject) | |
Returns true if and only if this object has its bit set to override the filer version. (Inherited from OdDbObject) | |
This is the overview for the hatch method overload. | |
Returns the hideMeForDragging flag for this entity. (Inherited from OdDbEntity) | |
(Inherited from OdDbEntity) | |
Returns the database ID corresponding to this object. (Inherited from OdDbObject) | |
Inserts a polygon loop to the specified position. | |
This is the overview for the intersectWith method overload. | |
Returns true if and only if this object is a proxy object or entity. (Inherited from OdDbObject) | |
Checks if there are loops that are not drawn (invalid). Does not check loops that are drawn (valid) for intersection or direction. | |
(Inherited from OdDbEntity) | |
Returns true if and only this object is a database -resident object. (Inherited from OdDbObject) | |
Returns true if and only if this object's erased status has been toggled since it was opened. (Inherited from OdDbObject) | |
Returns true if and only if this object is marked as erased. (Inherited from OdDbObject) | |
Returns true if and only if this object's assertWriteEnabled() has been called since it was opened. (Inherited from OdDbObject) | |
Returns true if and only if an object derived from OdDbEntity has been modified. (Inherited from OdDbObject) | |
Returns true if and only this object's assertWriteEnabled() and setXData() have been called since it was opened. (Inherited from OdDbObject) | |
Returns true if and only if this object has not been closed since it was created. (Inherited from OdDbObject) | |
Returns true if and only if this object is open OdDb::kForNotify. (Inherited from OdDbObject) | |
Returns true if and only if this object is sending notification. (Inherited from OdDbObject) | |
Returns true if and only if this object's Object ID is not valid because the OdDbObject::subDeepClone or OdDbObject::subWblockClone() have yet to be completed. (Inherited from OdDbObject) | |
Return true if and only if this object is database -resident (DBRO). (Inherited from OdDbObject) | |
Returns true if and only if this entity is planar. (Inherited from OdDbEntity) | |
The function projects worldPt to the polygon plane, then if the point is on some boundary, indices of these boundaries are added to the loopsArray and the function returns, otherwise it finds the innermost loop containing the point and adds its index to the loopsArray before returning. | |
Determines whether the specified point in WCS is on the specified loop of the polygon. | |
Returns true if and only if this object is open OdDb::kForRead. (Inherited from OdDbObject) | |
Returns true if and only if a call to close would completely close this object at this time. (Inherited from OdDbObject) | |
Returns true if and only if this object is taking part in an Undo operation. (Inherited from OdDbObject) | |
Returns true if and only if this object is open OdDb::kForWrite. (Inherited from OdDbObject) | |
Returns the name of the layer referenced by this entity (DXF 8). (Inherited from OdDbEntity) | |
Returns the Object ID of the OdDbLayerTableRecord referenced by this entity. (Inherited from OdDbEntity) | |
Returns the lineweight property of this entity (DXF 370). (Inherited from OdDbEntity) | |
Returns the name of the linetype referenced by this entity (DXF 6). (Inherited from OdDbEntity) | |
Returns the Object ID of the linetype referenced by this entity (DXF 6). (Inherited from OdDbEntity) | |
Returns the linetype scale of this entity (DXF 48). (Inherited from OdDbEntity) | |
This method is triggered by the standard LIST command and is to be display the dxf format contents of the entity to the display. (Inherited from OdDbEntity) | |
Returns the name of the material referenced by this entity (DXF 347). (Inherited from OdDbEntity) | |
Returns the Object ID of the material referenced by this entity (DXF 347). (Inherited from OdDbEntity) | |
Returns OdGiMapper used to map a material to the entity. Returns null if the default mapper is used. (Inherited from OdDbEntity) | |
Returns the merge style of this object. (Inherited from OdDbObject) | |
Notification function called whenever an object is opened OdDb::kForWrite, a function has been called that could modify the contents of this object, and this object is now being closed. (Inherited from OdDbObject) | |
Notification function called whenever an object derived from OdDbEntity is modified. (Inherited from OdDbObject) | |
Notification function called whenever the XData has been written to the notifying object. (Inherited from OdDbObject) | |
Notification function called whenever the notifying object is in the midst an Undo operation that is undoing modifications. (Inherited from OdDbObject) | |
This is the overview for the moveGripPointsAt method overload. | |
(Inherited from OdDbEntity) | |
Moves the specified stretch points of this entity. (Inherited from OdDbEntity) | |
Returns the WCS normal to the plane of this entity. | |
Returns the number of loops in the closed polygon. | |
Returns the number of pattern definition lines. | |
Returns the reference count of this object. (Inherited from OdDbObject) | |
Notification function called immediately before an object is closed. (Inherited from OdDbObject) | |
Returns the Object ID of this object. (Inherited from OdDbObject) | |
Notification function called whenever an object is opened for modify OdDb::kForWrite. (Inherited from OdDbObject) | |
Returns the Object ID of this object's owner. (Inherited from OdDbObject) | |
Returns the pattern angle. | |
Returns the color information as an OdCmColor instance. | |
Returns the pattern double flag. | |
Returns the name of the pattern. | |
Returns the pattern scale. | |
Returns the pattern spacing. | |
Returns the hatch pattern type for this MPolygon entity. | |
Returns the name of the plotStyleName string associated with this entity (DXF 390). (Inherited from OdDbEntity) | |
Notification function called whenever a Redo process processes the reappending of the notifying object to the database. (Inherited from OdDbObject) | |
Returns the ReceiveShadows flag for this entity.. (Inherited from OdDbEntity) | |
Sets the bit flag indicating the entity's geometry is changed. (Inherited from OdDbEntity) | |
Allows a subobject of a complex object to notify its root object that it has been changed. (Inherited from OdDbObject) | |
Decrements the reference count of this object. (Inherited from OdDbObject) | |
Releases and erases this object's extension dictionary if it exists and is empty. (Inherited from OdDbObject) | |
This is the overview for the removeField method overload. | |
Removes a polygon loop from the specified position. | |
Removes the specified persistent reactor from this object's reactor list. (Inherited from OdDbObject) | |
Removes the specified transient reactor from this object's reactor list. (Inherited from OdDbObject) | |
This is the overview for the replaceMPolygonLoopAt method overload. | |
Creates a geometric representation of this entity for saving proxy graphics or converting to previous formats. (Inherited from OdDbEntity) | |
Creates a geometric representation of the entity for saving proxy graphics or converting to previous formats. | |
!DOM (Inherited from OdDbObject) | |
Controls the CastShadows flag for this entity. (Inherited from OdDbEntity) | |
Sets the color information of this entity from an OdCmColor instance. (Inherited from OdDbEntity) | |
Assigns the specified OdDbColor object to this entity. (Inherited from OdDbEntity) | |
Sets the color index of this entity (DXF 62). (Inherited from OdDbEntity) | |
Applies the default properties of the specified database to this entity. (Inherited from OdDbEntity) | |
Sets the elevation of this entity in the OCS. | |
Adds the specified field to the field dictionary of this object. (Inherited from OdDbObject) | |
Sets the gradient type and name. | |
Sets the angle of the gradient. | |
Sets the colors and interpolation values describing the gradient fill. | |
Controls the oneColorMode. | |
Sets the interpolation value between the default and shifted values of the gradient's definition. | |
Assigns the specified OdGsCache to the calling object. (Inherited from OdDbObject) | |
Controls the flag specifying that this object overrides the save filer version. (Inherited from OdDbObject) | |
This is the overview for the setLayer method overload. | |
Sets the lineweight property of this entity (DXF 370). (Inherited from OdDbEntity) | |
This is the overview for the setLinetype method overload. | |
Sets the Linetype scale of this entity (DXF 48). (Inherited from OdDbEntity) | |
Sets the direction for the specified loop in the closed polygon. | |
This is the overview for the setMaterial method overload. | |
Sets the mapper used to map a material to the entity. (Inherited from OdDbEntity) | |
Sets the WCS normal to the plane of this entity. | |
Called on a new created cloned object to indicate that its Object ID is not valid. (Inherited from OdDbObject) | |
Sets this object's ownerId data member. (Inherited from OdDbObject) | |
Sets the pattern data. | |
Sets the pattern angle. | |
Sets the color information an OdCmColor instance. | |
Sets the pattern double flag. | |
Sets the pattern scale. | |
Sets the pattern spacing. | |
This is the overview for the setPlotStyleName method overload. | |
Copies the properties from the specified entity to this entity. (Inherited from OdDbEntity) | |
Controls the Receivehadows flag for this entity. (Inherited from OdDbEntity) | |
Sets the temporary (not saved to file) visibility status of this entity. (Inherited from OdDbEntity) | |
Sets the transparency setting of this entity, and returns eOk if successful. (Inherited from OdDbEntity) | |
Sets the visibility status of this entity (DXF 60). (Inherited from OdDbEntity) | |
Sets the *visual style* to be used by this entity. (Inherited from OdDbEntity) | |
Sets the XData of this object. (Inherited from OdDbObject) | |
Called as the first operation as this object is being closed, for database -resident objects only. (Inherited from OdDbObject) | |
Called as the first operation as this object is being erased or unerased. (Inherited from OdDbEntity) | |
Called as the first operation as this object is being erased or unerased. (Inherited from OdDbObject) | |
Breaks the polygon into a set of polylines. | |
overridables (Inherited from OdDbEntity) | |
Called as the first operation of the handOverTo function. (Inherited from OdDbEntity) | |
Called as the first operation of the handOverTo function. (Inherited from OdDbObject) | |
(Inherited from OdDbEntity) | |
Notification function called whenever a method of the specified subobject has called assertWriteEnabled() (Inherited from OdDbObject) | |
Notification function called by the Drawings framework immediately before an object is opened. (Inherited from OdDbEntity) | |
Notification function called by the Drawings framework immediately before an object is opened. (Inherited from OdDbObject) | |
Sets the values of this object's subentity traits, and returns with the calling object's subentity traits. (Inherited from OdDbEntity) | |
Sets the values of this object's subentity traits, and returns with the calling object's subentity traits. (Inherited from OdDbObject) | |
Called by setDatabaseDefaults() after the values are set. (Inherited from OdDbEntity) | |
Applies the default properties of the specified database to this entity. | |
Creates an object by OdDbFullSubentPath to the subentity. | |
This function is called as the first operation of the swapIdWith() function. (Inherited from OdDbEntity) | |
Called as the first operation of swapIdWith (Inherited from OdDbObject) | |
Transforms the polygon by a specified matrix. | |
(Inherited from OdDbEntity) | |
(Inherited from OdDbObject) | |
(Inherited from OdDbEntity) | |
Indicates whether the entity has no view-dependent graphics. | |
(Inherited from OdDbObject) | |
(Inherited from OdDbEntity) | |
(Inherited from OdDbEntity) | |
Swaps the objectIDs, handles, XData,and extension dictionary between this object and another object. (Inherited from OdDbObject) | |
Returns the temporary (not saved) visibility status of this entity. (Inherited from OdDbEntity) | |
Applies the specified 3D transformation matrix to this entity. (Inherited from OdDbEntity) | |
(Inherited from OdDbEntity) | |
Returns the transparency setting of this entity. (Inherited from OdDbEntity) | |
Notification function called whenever the Undo process processes the appending of the notifying object to the database. (Inherited from OdDbObject) | |
Returns the undo filer associated with this object. (Inherited from OdDbObject) | |
Upgrades this object from OdDb::kForRead to OdDb::kForWrite. (Inherited from OdDbObject) | |
Returns the visibility status of this entity. It takes into account both permanent (DXF 60) and temporary visibility statuses: the entity is visible only if it's visible in both parts. (Inherited from OdDbEntity) | |
Returns the Object ID of the *visual style* used by this entity. (Inherited from OdDbEntity) | |
Performs a shallow clone of this object. (Inherited from OdDbObject) | |
Returns a linked list of ResBufs containing a copy of the XData of this object. (Inherited from OdDbObject) | |
Applies the 3D transformation matrix to the XData of this object. (Inherited from OdDbObject) | |
Allows a subobject of a complex object to notify its root object that it has been changed. (Inherited from OdDbObject) |
Copyright © 2002-2022. Open Design Alliance All rights reserved.
|