Documentation of 'math.geom2d.domain.OrientedCurve2D' Java class
OrientedCurve2D
math.geom2d.domain

Interface OrientedCurve2D

    • Method Detail

      • windingAngle

        double windingAngle(Point2D point)
        Return the angle portion that the curve turn around the given point. Result is a signed angle.
        Parameters:
        point - a point of the plane
        Returns:
        a signed angle
      • signedDistance

        double signedDistance(Point2D point)
        Returns the signed distance of the curve to the given point. The distance is positive if the point lies outside the shape, and negative if the point lies inside the shape. In both cases, absolute value of distance is equals to the distance to the border of the shape.
        Parameters:
        point - a point of the plane
        Returns:
        the signed distance to the curve
      • signedDistance

        double signedDistance(double x,
                              double y)
        The same as distanceSigned(Point2D), but by passing 2 double as arguments.
        Parameters:
        x - x-coord of a point
        y - y-coord of a point
        Returns:
        the signed distance of the point (x,y) to the curve
      • isInside

        boolean isInside(Point2D pt)
        Returns true if the point is 'inside' the domain bounded by the curve.
        Parameters:
        pt - a point in the plane
        Returns:
        true if the point is on the left side of the curve.
      • reverse

        OrientedCurve2D 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
      • clip

        CurveSet2D<? extends OrientedCurve2D> clip(Box2D box)
        Description copied from interface: Curve2D
        When a curve is clipped, the result is a set of curves.
        Specified by:
        clip in interface Curve2D
        Specified by:
        clip in interface Shape2D
        Parameters:
        box - the clipping box
        Returns:
        the clipped shape
      • transform

        OrientedCurve2D transform(AffineTransform2D trans)
        Transforms the oriented curve, and returns another oriented curve. If transform is not direct, the domains bounded by the transformed curve should be complemented to have same orientation as the original domain.
        Specified by:
        transform in interface Curve2D
        Specified by:
        transform in interface Shape2D
        Parameters:
        trans - an affine transform
        Returns:
        the transformed shape

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.