pylas/extradims.py
def get_signedness_for_extra_dim(type_index):
    """ Returns the signedness foe the given type index

    Parameters
    ----------
    type_index: int
        index of the type as defined in the LAS Specification

    Returns
    -------
    DimensionSignedness,
        the enum variant
    """
    try:
        t = _extra_dims_style_2[type_index]
        if "uint" in t:
            return DimensionSignedness.UNSIGNED
        elif "int" in t:
            return DimensionSignedness.SIGNED
        else:
            return DimensionSignedness.FLOATING
    except IndexError:
        raise errors.UnknownExtraType(type_index)
def get_signedness_for_extra_dim(type_index):
    try:
        t = _extra_dims_style_2[type_index]
        if "uint" in t:
            return DimensionSignedness.UNSIGNED
        elif "int" in t:
            return DimensionSignedness.SIGNED
        else:
            return DimensionSignedness.FLOATING
    except IndexError:
        raise errors.UnknownExtraType(type_index)
def get_signedness_for_extra_dim ( type_index ) : try : t = _extra_dims_style_2 [ type_index ] if "uint" in t : return DimensionSignedness . UNSIGNED elif "int" in t : return DimensionSignedness . SIGNED else : return DimensionSignedness . FLOATING except IndexError : raise errors . UnknownExtraType ( type_index )
Returns the signedness foe the given type index

    Parameters
    ----------
    type_index: int
        index of the type as defined in the LAS Specification

    Returns
    -------
    DimensionSignedness,
        the enum variant
Returns the signedness foe the given type index