Class FilterDataCrossSections

    • Constructor Detail

      • FilterDataCrossSections

        public FilterDataCrossSections()
        Constructor.
    • Method Detail

      • getValue

        public final CrossSection getValue​(GtuData gtu)
        Retrieves the value of the meta data of this type from a GTU.
        Specified by:
        getValue in class FilterDataType<CrossSection>
        Parameters:
        gtu - GtuData; gtu to retrieve the value from
        Returns:
        value of the meta data of this type from a GTU, may be null if not applicable.
      • accept

        public final void accept​(TrajectoryAcceptList trajectoryAcceptList,
                                 Set<CrossSection> querySet)
        Accepts all trajectory's or rejects all trajectory's depending on whether all cross sections have been crossed.
        Overrides:
        accept in class FilterDataType<CrossSection>
        Parameters:
        trajectoryAcceptList - TrajectoryAcceptList; containing Trajectory's and TrajectoryGroup's pertaining to a single GTU, all assumed not accepted
        querySet - Set<T>; set of values in the query for this metadata type