|
[1 introduction] [2 overview] [3 reference] [4 GUI] IndexE3dFace_SetExterior E3dFace_AppendHole E3dFace_InsertHole E3dFace_RemoveHole E3dFace_ConvertToPolygons E3dFace_Flatten E3dFace_SetExteriorSet the exterior Spline of a FaceSyntax Argument Description Makes the given Spline the exterior contour of the Face. Reading the "Exterior" member of E3dFace directly is ok, but setting it should be done only through his function. Return value None. See also E3dFace_AppendHoleAdd a hole contour to a FaceSyntax Argument Description Adds the given Spline to the Face as a hole contour; Reading the "Holes" array of E3dFace directly is ok, but changing it should be done only through his function. Return value None. See also E3dFace_InsertHoleAdd a hole contour to a FaceSyntax Argument Description Adds the given Spline to the Face as a hole contour; Reading the "Holes" array of E3dFace directly is ok, but changing it should be done only through his function. Return value None. See also E3dFace_RemoveHoleRemove a hole contour from a FaceSyntax Argument Description Removes the given Spline hole contour from the Face. Reading the "Holes" array of E3dFace directly is ok, but changing it should be done only through his function because Faces and their contour Splines are cross-referenced. Return value None. See also E3dFace_ConvertToPolygonsConvert a Face's Polygons to a new set of Polygons.Syntax Arguments Description Target Polygons may have a different VertexNode format. Only the VertexID and Normal members of the Polygons' VertexNodes will be set. To ensure that there is enough memory allocated in PPolygons, you can use: PFace->PolyGroup.Polygons_Count, or if you need the number of triangles, use: E3dPolyGroup_CountTriangles(&PFace->PolyGroup, NULL); Return value The number of Polygons output, or an error code, such as E_NO_DATA E3dFace_FlattenRotate a Face, so it's aligned with the X-Y planeSyntax Arguments Description Aligns the Polygon with the X-Y plane, making it a 2D Polygon. This is useful for many Polygon operations, such as determining Edge intersections, triangulating etc. Return value Pointer to an array of 2DPositions, corresponding to each VertexNode of the Polygon, or NULL in case of an error. This array must be freed by the caller when not used any more. See also |