# class Extents

Extents holds calculated extents, and can be used to fetch extents positions and radius of scenes and selection sets.

# Properties

Property Description
Name The name of the Extents object. (Inherited from Object)

# Methods

Method Description
AddObserver Adds a user-defined observer object to the interface, that will receive events from the interface. (Inherited from Object)
AreValid Returns true if the extents are valid (all bounding box axes are >= 0).
GetBoundingBoxMaximum The superior (maximum) extent.
GetBoundingBoxMinimum The inferior (minimum) extent.
GetBoundingSphereCenter The superior (maximum) extent.
GetBoundingSphereRadius The the radius of the bounding sphere.
GetClass Get the name of the Extents class. (Inherited from Object)
HaveVolume Returns true if the extents are valid and define an actual volume (all axes are > 0).
IsA Returns true if Extents is a or is a descendant of the class named as the type parameter. (Inherited from Object)
IsNull Returns true if the Extents object is invalid. (Inherited from Object)
IsSameObjectAs Returns true if the Extents object is valid. (Inherited from Object)
NonNull Returns true if the Extents object is valid. (Inherited from Object)
PrintInfo Prints the content/info of the Extents object to the log. (Inherited from Object)
RemoveObserver Removes a previously added observer object. (Inherited from Object)

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

# Properties details

# Name

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

    # Methods details

    # AddObserver

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

      # AreValid

      Returns true if the extents are valid (all bounding box axes are >= 0).

        # GetBoundingBoxMaximum

        The superior (maximum) extent.

          # GetBoundingBoxMinimum

          The inferior (minimum) extent.

            # GetBoundingSphereCenter

            The superior (maximum) extent.

              # GetBoundingSphereRadius

              The the radius of the bounding sphere.

                # GetClass

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

                  # HaveVolume

                  Returns true if the extents are valid and define an actual volume (all axes are > 0).

                    # IsA

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

                      # IsNull

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

                        # IsSameObjectAs

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

                          # NonNull

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

                            # PrintInfo

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

                              # RemoveObserver

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

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