# class TJunctionEliminator

Removes t-junctions by subdividing triangles and welding vertices

# Properties

Property Description
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 arewithin 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
GetClass Get the name of the TJunctionEliminator class.
IsA Returns true if TJunctionEliminator is a or is a descendant of the class named as the type parameter.
IsNull Returns true if the TJunctionEliminator object is invalid.
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.
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.

# Properties details

# 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 arewithin 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

                # GetClass

                Get the name of the TJunctionEliminator class.

                  # IsA

                  Returns true if TJunctionEliminator is a or is a descendant of the class named as the type parameter.

                    # IsNull

                    Returns true if the TJunctionEliminator object is invalid.

                      # 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.

                            # 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.