This call sets the segmentation for any curved part of an object in case it is defined by a circle, ellipse, nurbs etc.
If segmentationParts is set to 0 it will fallback on the default setting (i.e. 36),
it makes sense to change the segmentation depending on the entity type that is visualized.
in case segmentationLength is non-zero, this is the maximum length (in file length unit definition) of a segment
For example a slightly curved wall with large size will get much more precise segmentation as the segmentLength
will force the segmentation for the wall to increase.
Syntax
public const string ifcenginedll = @"ifcengine.dll";
[DllImport(IFCEngineDLL, EntryPoint = "setSegmentation")]
public static extern void setSegmentation(int_t model, int_t segmentationParts, double segmentationLength);
Property model
Size: 32 bit / 4 byte (value)
???.
Property segmentationParts
Size: 32 bit / 4 byte (value)
???.
Property segmentationLength
Size: 64 bit / 8 byte (value)
???.