Method SmartOrient
SmartOrient(OccurrenceList, double, double, int, SmartHiddenType, bool, SmartOrientStrategy)
Properly orient all polygons in the same direction, using visibility attributes
Declaration
public void SmartOrient(OccurrenceList occurrences, double voxelSize, double minimumCavityVolume, int resolution, SmartHiddenType mode = SmartHiddenType.All, bool considerTransparentOpaque = true, SmartOrientStrategy orientStrategy = SmartOrientStrategy.VisibilityByConnected)
Parameters
Type | Name | Description |
---|---|---|
OccurrenceList | occurrences | Occurrences to orient |
double | voxelSize | Size of the voxels in mm (smaller it is, more viewpoints there are) |
double | minimumCavityVolume | Minimum volume of a cavity in cubic meter (smaller it is, more viewpoints there are) |
int | resolution | Resolution of the visibility viewer |
SmartHiddenType | mode | Select where to place camera (all cavities, only outer or only inner cavities) |
bool | considerTransparentOpaque | If True, Parts, Patches or Polygons with a transparent appearance are considered as opaque |
SmartOrientStrategy | orientStrategy | Strategy to adopt with this algorithm |