Documentation of 'math.geom2d.circulinear.CirculinearCurve2D' Java class
CirculinearCurve2D
math.geom2d.circulinear

Interface CirculinearCurve2D

    • Method Detail

      • length

        double length()
        Returns:
        the length of the curve
      • length

        double length(double pos)
        Returns:
        the length from the beginning to the position given by pos
      • position

        double position(double distance)
        Returns:
        the position located at a given geodesic distance from the origin
      • parallel

        CirculinearCurve2D parallel(double d)
        Creates a new curve, formed by the points with parameterization: p(t) = c(t) + d*n(t)/|n(t)|, with p(t) being a point of the original curve, n(t) the normal of the curve, and |n| being the norm of n.
        In the case of a continuous curve formed by several smooth circulinear elements, the parallels of contiguous elements are joined by a circle arc.
        Parameters:
        d - the distance between the original curve and he parallel curve.
        Returns:
        the parallel curve
      • continuousCurves

        java.util.Collection<? extends CirculinearContinuousCurve2D> continuousCurves()
        Returns the collection of continuous circulinear curves which constitute this curve.
        Specified by:
        continuousCurves in interface Curve2D
        Returns:
        a collection of continuous circulinear curves.
      • clip

        CurveSet2D<? extends CirculinearCurve2D> clip(Box2D box)
        Description copied from interface: Shape2D
        Clip the shape with the given box, and returns a new shape. The box must be bounded.
        Specified by:
        clip in interface Curve2D
        Specified by:
        clip in interface Shape2D
        Parameters:
        box - the clipping box
        Returns:
        the clipped shape
      • subCurve

        CirculinearCurve2D subCurve(double t0,
                                    double t1)
        Description copied from interface: Curve2D
        Returns a portion of the original curve, delimited by two positions on the curve.
        Specified by:
        subCurve in interface Curve2D
        Parameters:
        t0 - position of the start of the sub-curve
        t1 - position of the end of the sub-curve
        Returns:
        the portion of original curve comprised between t0 and t1.
      • reverse

        CirculinearCurve2D reverse()
        Description copied from interface: Curve2D
        Returns the curve with same trace on the plane with parameterization in reverse order.
        Specified by:
        reverse in interface Curve2D

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.