Table of Contents

Method Extrude

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

Extrude(GeoPolygon3, GeoVector3)

Makes the body a flat polygon sweeps out moving along a vector, using the default tolerance.

public static GeoSolid3 Extrude(GeoPolygon3 profile, GeoVector3 direction)

Parameters

profile GeoPolygon3
direction GeoVector3

Returns

GeoSolid3

Extrude(GeoPolygon3, GeoVector3, Tolerance)

Makes the body a flat polygon sweeps out moving along a vector: a prism, upright or leaning.

public static GeoSolid3 Extrude(GeoPolygon3 profile, GeoVector3 direction, Tolerance tolerance)

Parameters

profile GeoPolygon3

The polygon; it is one end of the body.

direction GeoVector3

How far and which way the profile moves; any way out of its plane.

tolerance Tolerance

The tolerance deciding whether the direction leaves the plane.

Returns

GeoSolid3

The body, wound outwards whichever way round the profile was drawn.

Exceptions

ArgumentNullException

Thrown when the profile is null.

ArgumentException

Thrown when the direction lies in the plane of the profile.

Extrude(GeoFace3, GeoVector3)

Makes the body a flat face sweeps out moving along a vector, using the default tolerance.

public static GeoSolid3 Extrude(GeoFace3 profile, GeoVector3 direction)

Parameters

profile GeoFace3
direction GeoVector3

Returns

GeoSolid3

Extrude(GeoFace3, GeoVector3, Tolerance)

Makes the body a flat face sweeps out moving along a vector: each hole of the face runs through the body as a shaft.

public static GeoSolid3 Extrude(GeoFace3 profile, GeoVector3 direction, Tolerance tolerance)

Parameters

profile GeoFace3

The face; it is one end of the body.

direction GeoVector3

How far and which way the face moves; any way out of its plane.

tolerance Tolerance

The tolerance deciding whether the direction leaves the plane.

Returns

GeoSolid3

The body, wound outwards.

Exceptions

ArgumentNullException

Thrown when the profile is null.

ArgumentException

Thrown when the direction lies in the plane of the face.

Extrude(GeoPolygon2, GeoCoordinateSystem3, double)

Makes the body a profile drawn in a plane sweeps out moving straight out of it, using the default tolerance.

public static GeoSolid3 Extrude(GeoPolygon2 profile, GeoCoordinateSystem3 placement, double length)

Parameters

profile GeoPolygon2
placement GeoCoordinateSystem3
length double

Returns

GeoSolid3

Extrude(GeoPolygon2, GeoCoordinateSystem3, double, Tolerance)

Makes the body a profile drawn in a plane sweeps out moving straight out of it: a plate from its outline, a member from its section.

public static GeoSolid3 Extrude(GeoPolygon2 profile, GeoCoordinateSystem3 placement, double length, Tolerance tolerance)

Parameters

profile GeoPolygon2

The profile, drawn in the XY plane of the placement.

placement GeoCoordinateSystem3

Where the profile stands; the body runs along its Z axis.

length double

How far along Z; negative runs the other way.

tolerance Tolerance

The tolerance.

Returns

GeoSolid3

The body, wound outwards.

Exceptions

ArgumentNullException

Thrown when the profile is null.

ArgumentException

Thrown when the length is too short to sweep out any volume.

Extrude(GeoFace2, GeoCoordinateSystem3, double)

Makes the body a face drawn in a plane sweeps out moving straight out of it, using the default tolerance.

public static GeoSolid3 Extrude(GeoFace2 profile, GeoCoordinateSystem3 placement, double length)

Parameters

profile GeoFace2
placement GeoCoordinateSystem3
length double

Returns

GeoSolid3

Extrude(GeoFace2, GeoCoordinateSystem3, double, Tolerance)

Makes the body a face drawn in a plane sweeps out moving straight out of it: each hole of the face runs through the body.

public static GeoSolid3 Extrude(GeoFace2 profile, GeoCoordinateSystem3 placement, double length, Tolerance tolerance)

Parameters

profile GeoFace2

The face, drawn in the XY plane of the placement.

placement GeoCoordinateSystem3

Where the face stands; the body runs along its Z axis.

length double

How far along Z; negative runs the other way.

tolerance Tolerance

The tolerance.

Returns

GeoSolid3

The body, wound outwards.

Exceptions

ArgumentNullException

Thrown when the profile is null.

ArgumentException

Thrown when the length is too short to sweep out any volume.

Extrude(GeoPolygonArc2, GeoCoordinateSystem3, double, double)

Makes the body a curved loop drawn in a plane sweeps out moving straight out of it, using the default tolerance.

public static GeoSolid3 Extrude(GeoPolygonArc2 profile, GeoCoordinateSystem3 placement, double length, double chordTolerance)

Parameters

profile GeoPolygonArc2
placement GeoCoordinateSystem3
length double
chordTolerance double

Returns

GeoSolid3

Extrude(GeoPolygonArc2, GeoCoordinateSystem3, double, double, Tolerance)

Makes the body a curved loop drawn in a plane sweeps out moving straight out of it, its arcs cut into chords no further than a tolerance from them.

public static GeoSolid3 Extrude(GeoPolygonArc2 profile, GeoCoordinateSystem3 placement, double length, double chordTolerance, Tolerance tolerance)

Parameters

profile GeoPolygonArc2

The loop, drawn in the XY plane of the placement.

placement GeoCoordinateSystem3

Where the loop stands; the body runs along its Z axis.

length double

How far along Z; negative runs the other way.

chordTolerance double

The largest gap allowed between a chord and its arc; nought picks one from the radius.

tolerance Tolerance

The tolerance.

Returns

GeoSolid3

The body, wound outwards.

Exceptions

ArgumentNullException

Thrown when the profile is null.

ArgumentException

Thrown when the length is too short to sweep out any volume.