# class TJunctionEliminator

Removes t-junctions by subdividing triangles and welding vertices

# Properties

Property Description
Name The name of the TJunctionEliminator object. (Inherited from Object)
OnlyObjectBoundaryFlag If set, only vertices that are on the boundary between two different objects are considered for the welding.
OnlyWithinMaterialFlag If set, only vertices that are within the same material are welded. Vertices on material borders are locked.
OnlyWithinSceneNode If set, only vertices that are within the same scene node are welded.
ProcessSelectionSetID The ID of the SelectionSet containing the meshes to weld If the ID is -1, all meshes are selected. If both ID and Name are set, name will be used.
ProcessSelectionSetName Which SelectionSet should be processed. If Name is not found, all geometries in the scene will be processed. If both ID and Name are set, name will be used.
Scene The scene.
WeldDist The distance, below which, the t-junctions will be welded.

# Methods

Method Description
AddObserver Adds a user-defined observer object to the interface, that will receive events from the interface. (Inherited from Object)
GetClass Get the name of the TJunctionEliminator class. (Inherited from Object)
IsA Returns true if TJunctionEliminator is a or is a descendant of the class named as the type parameter. (Inherited from Object)
IsNull Returns true if the TJunctionEliminator object is invalid. (Inherited from Object)
IsSameObjectAs Returns true if the TJunctionEliminator object is valid. (Inherited from Object)
NonNull Returns true if the TJunctionEliminator object is valid. (Inherited from Object)
PrintInfo Prints the content/info of the TJunctionEliminator object to the log. (Inherited from Object)
RemoveObserver Removes a previously added observer object. (Inherited from Object)
RemoveTJunctions Removes the t-junctions in the set scene, processing each sub-geometry individually.
RemoveTJunctionsInGeometry Removes the t-junctions in the geometry data.

# 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 spTJunctionEliminator, and if this is the case, returns the object cast into spTJunctionEliminator. (Inherited from Object)

# Properties details

# Name

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

    # OnlyObjectBoundaryFlag

    If set, only vertices that are on the boundary between two different objects are considered for the welding.

      # OnlyWithinMaterialFlag

      If set, only vertices that are within the same material are welded. Vertices on material borders are locked.

        # OnlyWithinSceneNode

        If set, only vertices that are within the same scene node are welded.

          # ProcessSelectionSetID

          The ID of the SelectionSet containing the meshes to weld If the ID is -1, all meshes are selected. If both ID and Name are set, name will be used.

            # ProcessSelectionSetName

            Which SelectionSet should be processed. If Name is not found, all geometries in the scene will be processed. If both ID and Name are set, name will be used.

              # Scene

              The scene.

                # WeldDist

                The distance, below which, the t-junctions will be welded.

                  # Methods details

                  # AddObserver

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

                    # GetClass

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

                      # IsA

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

                        # IsNull

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

                          # IsSameObjectAs

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

                            # NonNull

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

                              # PrintInfo

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

                                # RemoveObserver

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

                                  # RemoveTJunctions

                                  Removes the t-junctions in the set scene, processing each sub-geometry individually.

                                    # RemoveTJunctionsInGeometry

                                    Removes the t-junctions in the geometry data.

                                      # 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 spTJunctionEliminator, and if this is the case, returns the object cast into spTJunctionEliminator. (Inherited from Object)