Computes the approximate outline of a body. The outline is the loops formed from projecting the non-occluded silhouette curves of the body onto a plane. The outline is returned as a temporary BRepBody consisting of planar BRepFace objects whose boundaries form the outline.
The computed outline can be an approximation i.e. not precise. This is to make it useful in cases where robustness is more important than precision. For most cases, a precise analytical result is computed, but in some cases, the silhouette of a curved surface may be approximated by a series of straight lines. Even though it's an approximation you can control the tolerance of the approximation. A tighter tolerance will result in a longer compute time.
"temporaryBRepManager_var" is a variable referencing a TemporaryBRepManager object.
|
|
Type | Description |
BRepBody | Returns a BRepBody object consisting of planar BRepFace objects whose boundaries define the body's outline. |
Name | Type | Description |
body | BRepBody | Input BRepBody object to calculate the projected outline for. |
projectionPlane | Plane | Input Plane object that defines the position and orientation of the plane to project the body onto. The resulting body will lie on this plane. |
tolerance | double | Input value that specifies the tolerance in centimeters to use when approximating smooth surfaces with line segments. A negative tolerance uses the default value which is 0.001 times the length of the diagonal of the bounding box of the input body. A positive tolerance must be greater than the point tolerance (0.000001). |
containsApproximation | boolean | Output value that indicates if the result contains any silhouette curves that are an approximation of the true silhouette. |