Class ConvertToPhysicalDistance<T extends FeatureInputWithResolution>

Type Parameters:
T - the type of feature input, which must include resolution information

public class ConvertToPhysicalDistance<T extends FeatureInputWithResolution> extends FeatureConvertUnits<T>
Converts a distance feature to physical units along a specified direction.

This feature converter takes a distance measurement and converts it to physical units considering the direction specified by the direction property.

  • Constructor Details

    • ConvertToPhysicalDistance

      public ConvertToPhysicalDistance(Feature<T> feature, SpatialUnits.UnitSuffix unitType, DirectionVector directionVector)
      Creates a new instance with specified feature, unit type, and direction vector.
      Parameters:
      feature - the feature to convert
      unitType - the type of physical unit to convert to
      directionVector - the direction vector for the distance
    • ConvertToPhysicalDistance

      public ConvertToPhysicalDistance()
  • Method Details