setSegmentation

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

//
//   Strong typing definition
//
void            setSegmentation(
                        SdaiModel               model,
                        int_t                   segmentationParts,
                        double                  segmentationLength
                    );


//
//   Weak typing definition
//
void    __declspec(dllexport) __stdcall   setSegmentation(
                                                                        int_t                   model,
                                                                        int_t                   segmentationParts,
                                                                        double                  segmentationLength
                                                                    );
    

Property model

Size: 64 bit / 8 byte (value)
???.

Property segmentationParts

Size: 64 bit / 8 byte (value)
???.

Property segmentationLength

Size: 64 bit / 8 byte (value)
???.