Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Extension method: IEnumerable<VertexInfo[]> Extrude(this IEnumerable<DecodeSvgPath.PathPiece>, double, double, bool)

  • Declared in: RT.Modeling.Md

Declaration

public static IEnumerable<VertexInfo[]> Extrude(
    this IEnumerable<DecodeSvgPath.PathPiece> pieces,
    double depth,
    double smoothness,
    bool includeBackFace = false
)

Summary

Generates a 3D model by extruding an SVG path from 2D space along the y-axis.

Parameters

this IEnumerable<DecodeSvgPath.PathPiece>pieces The shape to extrude. This can be generated by using DecodeSvgPath.
doubledepth The amount along the y-axis by which to extrude.
doublesmoothness Lower values make Bézier curves smoother at the cost of generating more vertices. Higher values will cause curves to be more coarsely subdivided, causing more jagged corners.
boolincludeBackFace If true, a back face is also included.

Returns

A collection of faces.