# class ModularSeamAnalyzer

# Properties

Property Description
IsTranslationIndependent If the modular seams are translation independent the assets don't have to align position wise next to each other. The modular seam will be identical even if the asset has been translated. This setting can only be changed before geometries have been added to the analyzer.
Name The name of the ModularSeamAnalyzer object. (Inherited from Object)
Tolerance Tolerance should be a small value in relation to the scene. If the distance between coordinates is less than the Tolerance the coordinates are considered to be equal.

# Methods

Method Description
AddGeometry Add a modular part geometry that will be analyzed later.
AddObserver Adds a user-defined observer object to the interface, that will receive events from the interface. (Inherited from Object)
Analyze All the geometries that have been added with AddGeometry() will have their shared modular seams grouped together and analyzed. The ModularSeams structure is generated and can then be fetched with GetModularSeams().
GetAutomaticModularSeamDetectionType Get the EAutomaticModularSeamDetectionType.
GetClass Get the name of the ModularSeamAnalyzer class. (Inherited from Object)
GetManualModularSeamDetectionType Get the EManualModularSeamDetectionType.
GetManualSeamArray Get a bool array where the user can manually enter which edges should be modular seams.
GetManualSeamIdArray Get a rid array where the user can manually enter the manual modular seam id per edge.
GetModularSeamDetectionType Get the EModularSeamDetectionType.
GetModularSeams Fetch the modular seam structure that was created from the geometries that had been added and analyzed. The modular seam structure contains the identified modular seams and how they should be reduced based on the geometries that were analyzed.
IsA Returns true if ModularSeamAnalyzer is a or is a descendant of the class named as the type parameter. (Inherited from Object)
IsNull Returns true if the ModularSeamAnalyzer object is invalid. (Inherited from Object)
IsSameObjectAs Returns true if the ModularSeamAnalyzer object is valid. (Inherited from Object)
NonNull Returns true if the ModularSeamAnalyzer object is valid. (Inherited from Object)
PrintInfo Prints the content/info of the ModularSeamAnalyzer object to the log. (Inherited from Object)
RemoveObserver Removes a previously added observer object. (Inherited from Object)
SetAutomaticModularSeamDetectionType Set EAutomaticModularSeamDetectionType to either GeometryBorders or OnlyClosed.
SetManualModularSeamDetectionType Set EManualModularSeamDetectionType to either SeamIdPerEdge or TogglePerEdge.
SetModularSeamDetectionType Set EModularSeamDetectionType to either Automatic, Manual or AutomaticAndManual.

# Static methods

Method Description
IsClassA Returns true if the class is a or is a descendant of the class named as the type parameter. (Inherited from Object)
SafeCast SafeCast makes sure the input object is of a class that can be cast into spModularSeamAnalyzer, and if this is the case, returns the object cast into spModularSeamAnalyzer. (Inherited from Object)

# Properties details

# IsTranslationIndependent

If the modular seams are translation independent the assets don't have to align position wise next to each other. The modular seam will be identical even if the asset has been translated. This setting can only be changed before geometries have been added to the analyzer.

    # Name

    The name of the ModularSeamAnalyzer object. (Inherited from Object)

      # Tolerance

      Tolerance should be a small value in relation to the scene. If the distance between coordinates is less than the Tolerance the coordinates are considered to be equal.

        # Methods details

        # AddGeometry

        Add a modular part geometry that will be analyzed later.

          # AddObserver

          Adds a user-defined observer object to the interface, that will receive events from the interface. (Inherited from Object)

            # Analyze

            All the geometries that have been added with AddGeometry() will have their shared modular seams grouped together and analyzed. The ModularSeams structure is generated and can then be fetched with GetModularSeams().

              # GetAutomaticModularSeamDetectionType

              Get the EAutomaticModularSeamDetectionType.

                # GetClass

                Get the name of the ModularSeamAnalyzer class. (Inherited from Object)

                  # GetManualModularSeamDetectionType

                  Get the EManualModularSeamDetectionType.

                    # GetManualSeamArray

                    Get a bool array where the user can manually enter which edges should be modular seams.

                      # GetManualSeamIdArray

                      Get a rid array where the user can manually enter the manual modular seam id per edge.

                        # GetModularSeamDetectionType

                        Get the EModularSeamDetectionType.

                          # GetModularSeams

                          Fetch the modular seam structure that was created from the geometries that had been added and analyzed. The modular seam structure contains the identified modular seams and how they should be reduced based on the geometries that were analyzed.

                            # IsA

                            Returns true if ModularSeamAnalyzer is a or is a descendant of the class named as the type parameter. (Inherited from Object)

                              # IsNull

                              Returns true if the ModularSeamAnalyzer object is invalid. (Inherited from Object)

                                # IsSameObjectAs

                                Returns true if the ModularSeamAnalyzer object is valid. (Inherited from Object)

                                  # NonNull

                                  Returns true if the ModularSeamAnalyzer object is valid. (Inherited from Object)

                                    # PrintInfo

                                    Prints the content/info of the ModularSeamAnalyzer object to the log. (Inherited from Object)

                                      # RemoveObserver

                                      Removes a previously added observer object. (Inherited from Object)

                                        # SetAutomaticModularSeamDetectionType

                                        Set EAutomaticModularSeamDetectionType to either GeometryBorders or OnlyClosed.

                                          # SetManualModularSeamDetectionType

                                          Set EManualModularSeamDetectionType to either SeamIdPerEdge or TogglePerEdge.

                                            # SetModularSeamDetectionType

                                            Set EModularSeamDetectionType to either Automatic, Manual or AutomaticAndManual.

                                              # Static methods details

                                              # IsClassA

                                              Returns true if the class is a or is a descendant of the class named as the type parameter. (Inherited from Object)

                                                # SafeCast

                                                SafeCast makes sure the input object is of a class that can be cast into spModularSeamAnalyzer, and if this is the case, returns the object cast into spModularSeamAnalyzer. (Inherited from Object)