Method CreateNormals
CreateNormals(OccurrenceList, double, bool, bool)
Create normal attributes on tessellations
Declaration
public void CreateNormals(OccurrenceList occurrences, double sharpEdge = 45, bool overriding = true, bool useAreaWeighting = false)
Parameters
Type | Name | Description |
---|---|---|
OccurrenceList | occurrences | Occurrences of components to create attributes |
double | sharpEdge | Edges with an angle between their polygons greater than sharpEdge will be considered sharp. If negative, smooth normals only. |
bool | overriding | If true, override existing normals, else only create normals on meshes without normals |
bool | useAreaWeighting | If true, normal computation will be weighted using polygon areas |