Inheritance diagram for IPolygon:

Public Member Functions | |
| virtual long MCCOMAPI | GetNbVertices () const =0 |
| virtual I3DExVertex *MCCOMAPI | GetVertex (long indexInPolygon)=0 |
| virtual IEdge *MCCOMAPI | GetEdge (long indexInPolygon)=0 |
| virtual void MCCOMAPI | Delete ()=0 |
| virtual IFacet *MCCOMAPI | GetFacet (long indexInPolygon)=0 |
| virtual void MCCOMAPI | GetBoundingBox (TBBox3D &bbox)=0 |
| virtual void MCCOMAPI | SetSelection (boolean selected, boolean autoSelection=true)=0 |
| virtual boolean MCCOMAPI | GetSelection ()=0 |
| virtual boolean MCCOMAPI | GetBestPlane (TVector3 &ii, TVector3 &jj, TVector3 &kk, TVector3 ¢er)=0 |
| virtual void MCCOMAPI | GetPolymesh (IPolymesh **iPolymesh)=0 |
| virtual void MCCOMAPI | Triangulate ()=0 |
| virtual void MCCOMAPI | SetBooleanClassification (const long classification)=0 |
| virtual const long MCCOMAPI | GetBooleanClassification ()=0 |
| virtual void MCCOMAPI | GetNormal (TVector3 &normal, boolean smoothed=true)=0 |
| virtual void MCCOMAPI | GetVertexNormal (TVector3 &normal, int32 vertexIndex)=0 |
| virtual void MCCOMAPI | GetCenter (TVector3 ¢er)=0 |
| virtual IPolygon *MCCOMAPI | Subdivide (I3DExVertex *v1, I3DExVertex *v2)=0 |
| virtual void MCCOMAPI | Subdivide (ETesselateMode mode)=0 |
| virtual IEdge *MCCOMAPI | GetOtherEdge (I3DExVertex *vertex, IEdge *edge)=0 |
| virtual IPolygon *MCCOMAPI | CloneConjugate ()=0 |
| virtual boolean MCCOMAPI | GetBestPlane2 (TVector3 &ii, TVector3 &jj, TVector3 &kk, TVector3 ¢er)=0 |
| virtual void MCCOMAPI | ClassifyPolygon (IPolymesh *object)=0 |
| virtual void MCCOMAPI | GetName (char *name)=0 |
| virtual void MCCOMAPI | SetName (char *name)=0 |
| virtual void MCCOMAPI | GetFacetInfo (int32 index, int32 *info)=0 |
| virtual uint32 MCCOMAPI | GetSmoothingID ()=0 |
| virtual int16 MCCOMAPI | GetShadingDomainID ()=0 |
| virtual void MCCOMAPI | SetShadingDomainID (int16 id)=0 |
| virtual int32 MCCOMAPI | GetUVIndexForVertex (int32 vertexIndexInPolygon)=0 |
| virtual int32 MCCOMAPI | GetUVIndexForVertex (I3DExVertex *vertex)=0 |
| virtual void MCCOMAPI | SetUVIndexForVertex (int32 vertexIndex, int32 uvIndex)=0 |
| virtual void MCCOMAPI | SetUVIndexForVertex (I3DExVertex *vertex, int32 uvIndex)=0 |
| virtual void MCCOMAPI | SetMarker (int32 marker)=0 |
| virtual int32 MCCOMAPI | GetMarker ()=0 |
| virtual int32 MCCOMAPI | GetVertexIndex (I3DExVertex *vertex)=0 |
| long | GetNbEdges () |
|
|
This function Classifies the Polygon with respect to the Polymesh passed in the parameter. Used internally for Boolean operations. Do not use elsewhere.
|
|
|
Accessor to this Polygon's clone conjugate. Vertex Modeler specific, generally should not be used elsewhere.
|
|
|
Removes this Polygon from its Polymesh and deletes it. |
|
||||||||||||||||||||
|
This function calculates ii, jj, and kk - an orthogonal basis for a plane approximation of the Polygon. Also computes a centroid for the vertices of the Polygon. This version of the function verifies that kk is pointing the same direction as the Polygon's normal, and flips the resulting plane if necessary.
|
|
||||||||||||||||||||
|
This function calculates ii, jj, and kk - an orthogonal basis for a plane approximation of the Polygon. Also computes a centroid for the vertices of the Polygon.
|
|
|
The Boolean Classification field is an auxilliary field used to store an extra number associated with the Polygon. Do not rely on its being initialized, but you can initialize it and then use it. GetBooleanClassification gets the field for this Polygon.
|
|
|
Calculates the 3D bounding box of the Polygon
|
|
|
Returns the barycenter of the Polygon
|
|
|
Returns the indexed edge of the polygon
|
|
|
Returns the indexed facet in the polygon
|
|
||||||||||||
|
When passed an index to a facet in the Polygon, fills the array at info with the indices of the vertices in that facet.
|
|
|
Gets the polygon's marker Can be used to remember where the poly is coming from when importing an object |
|
|
Gets a pointer to a C string name for the Polygon. Do not use.
|
|
|
|
|
|
|
|
||||||||||||
|
Returns the normal to the Polygon.
|
|
||||||||||||
|
Given an edge and a vertex attached to the edge, will return the other edge attached to that vertex.
|
|
|
Gets the Polymesh to which this Polygon belongs
|
|
|
|
|
|
|
|
|
|
|
|
Accessor for the index of the UV in the UV List of the vertex to use with the Vertex in this Polygon. Note that this version is slower than the one passed an index to the Vertex in the Polygon.
|
|
|
Accessor for the index of the UV in the UV List of the vertex to use with the Vertex in this Polygon.
|
|
|
Returns the indexed vertex of the polygon
|
|
|
Returns the index of the vertex in the polygon Returns kUnusedIndex if the vertex isn't used by the polygon. |
|
||||||||||||
|
Returns the normal for the indexed vertex in this Polygon
|
|
|
The Boolean Classification field is an auxilliary field used to store an extra number associated with the Polygon. Do not rely on its being initialized, but you can initialize it and then use it. SetBooleanClassification sets the field for this Polygon.
|
|
|
Sets the polygon's marker (or index) Can be used to remember where the poly is coming from when importing an object |
|
|
Sets the name of the Polygon from a C string. Do not use.
|
|
||||||||||||
|
Sets the selection state of the Polygon.
|
|
|
Sets the shading domain to use for this Polygon.
|
|
||||||||||||
|
Sets the index of the UV in the UV List of the Vertex to use by the Vertex in this Polygon. Note that this version is slower than the one passed an index to the Vertex in the Polygon.
|
|
||||||||||||
|
Sets the index of the UV in the UV List of the Vertex to use by the Vertex in this Polygon.
|
|
|
Subdivides the Polygon according to the mode specified in the parameter. See VMTypes.h for the list of Subdivision modes.
|
|
||||||||||||
|
This Subdivide function divides the Polygon into two by creating an edge between v1 and v2.
|
|
|
Triangulates this Polygon, regardless of selection state. |
1.3.9.1