SweepLineStringToFacetsOptions Class
Options carrier for sweeping linework onto meshes.
- The create method initializes all options.
Methods
Name | Description | |
---|---|---|
collectFromThisFacetNormal(facetNormal: undefined | Vector3d): boolean | Decide if the instance flags accept this facet. | |
create(vectorToEye?: Vector3d, sideAngle?: Angle, assembleChains?: boolean, collectOnForwardFacets?: boolean, collectOnSideFacets?: boolean, collectOnRearFacets?: boolean): SweepLineStringToFacetsOptions Static | Create an options structure. |
Properties
Name | Type | Description | |
---|---|---|---|
assembleChains | boolean | option to assemble lines into chains | |
collectAll Accessor ReadOnly | boolean | Return true if all outputs are requested | |
collectOnForwardFacets | boolean | true to collect edges from facets that face towards the eye | |
collectOnRearFacets | boolean | true to collect facets that face away from the eye | |
collectOnSideFacets | boolean | true to collect facets that are "on the side", i.e. | |
sideAngle | Angle | (small) angle to use as tolerance for deciding if a facet is "on the side". | |
vectorToEye | Vector3d | vector "towards the eye" |
Defined in
- polyface/PolyfaceQuery.ts Line 64
Last Updated: 16 April, 2024
Found something wrong, missing, or unclear on this page?
Raise an issue in our repo.