Class Flattener3d.NumSegments

java.lang.Object
org.djutils.draw.curve.Flattener3d.NumSegments
All Implemented Interfaces:
Flattener<Flattener3d,Curve3d,PolyLine3d,Point3d,Direction3d>, Flattener3d
Enclosing interface:
Flattener3d

public static class Flattener3d.NumSegments extends Object implements Flattener3d
Flattener that approximates the Curve3d with a specified number of segments.
  • Constructor Details

    • NumSegments

      public NumSegments(int numSegments)
      Construct a flattener that approximates the Curve3d with a specified number of segments.
      Parameters:
      numSegments - number of segments to use in the construction of the PolyLine3d.
      Throws:
      IllegalArgumentException - when numSegments < 1
  • Method Details