Bézier(start, control1, control2, end, steps) Bézier(start, control1, control2, end, steps) BézierPatch(p00, p10, p20, p30, p01, p11, p21, p31, p02, p12, p22, p32, p03, p13, p23, p33, steps) Extrude(polygon, depth, includeBackFace, flatSideNormals) Extrude(polygons, depth, includeBackFace, flatSideNormals) Extrude(pieces, depth, smoothness, includeBackFace) pt(x, y, z, normalOverride) pt(x, y, z, befX, afX, befY, afY) Rotate(face, axisStart, axisEnd, angle) Rotate(faces, axisStart, axisEnd, angle) Rotate(faces, axisStart, axisEnd, angle) Rotate(faces, axisStart, axisEnd, angle) Rotate(faces, axisStart, axisEnd, angle) Rotate(vi, axisStart, axisEnd, angle) Rotate(face, axisStart, axisEnd, angle) Rotate(face, axisStart, axisEnd, angle) Rotate(face, axisStart, axisEnd, angle)
Legend Class Struct Enum Interface Delegate | Constructor Method Property Event Field |
| Extension method: IEnumerable<VertexInfo[]> Extrude(this IEnumerable<IEnumerable<PointD>>, double, bool, bool)- Declared in: RT.Modeling.Md
Declarationpublic static IEnumerable<VertexInfo[]> Extrude(
this IEnumerable<IEnumerable<PointD>> polygons,
double depth,
bool includeBackFace = false,
bool flatSideNormals = false
) Summary
Generates a 3D model by extruding a set of polygons, potentially with holes, from 2D space along the y-axis. Parametersthis IEnumerable<IEnumerable<PointD>> | polygons |
The polygons to extrude. Polygons going clockwise are assumed to be faces, polygons going counter-clockwise
are assumed to be holes. | double | depth |
The amount along the y-axis by which to extrude. | bool | includeBackFace |
If true , a back face is also included. | bool | flatSideNormals |
If true , the “walls” of the extrusion at all assumed to be flat (normal vectors will be perpendicular).
Otherwise, they are assumed to be curves (normal vectors are averages). |
Returns
A collection of faces. |