Package org.tinfour.svm
Class SvmLasFilter
- java.lang.Object
-
- org.tinfour.svm.SvmLasFilter
-
- All Implemented Interfaces:
ILasRecordFilter
public class SvmLasFilter extends Object implements ILasRecordFilter
Implements logic for filtering sample points from LAS/LAZ files when they are used for the Simple Volumetric Model (SVM).
-
-
Constructor Summary
Constructors Constructor Description SvmLasFilter()Construct a filter that accepts all records except those that are explicitly marked as withheld.SvmLasFilter(String specification)Construct a filter and optionally apply the rules specified in the input string.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(LasPoint record)booleanareAllRecordsAccepted()Indicates that the filter will accept all records except those that are explicitly marked as withheld.
-
-
-
Constructor Detail
-
SvmLasFilter
public SvmLasFilter()
Construct a filter that accepts all records except those that are explicitly marked as withheld.
-
SvmLasFilter
public SvmLasFilter(String specification)
Construct a filter and optionally apply the rules specified in the input string.- Parameters:
specification- an option string, potentially null or blank.
-
-
Method Detail
-
accept
public boolean accept(LasPoint record)
- Specified by:
acceptin interfaceILasRecordFilter
-
areAllRecordsAccepted
public boolean areAllRecordsAccepted()
Indicates that the filter will accept all records except those that are explicitly marked as withheld.- Returns:
- true if all records are accepted; otherwise, false
-
-