Class BREP.CommonCurveSet

  • Enclosing class:
    BREP

    public static class BREP.CommonCurveSet
    extends java.lang.Object
    Convenience type for a set of curves in a BREP.
    • Constructor Detail

      • CommonCurveSet

        public CommonCurveSet​(long cPtr,
                              boolean cMemoryOwn)
    • Method Detail

      • delete

        public void delete()
      • size

        public long size()
        Get the number of curves in the set.
        Returns:
        the number of curves.
      • curve

        public Curve curve​(long index)
        Get a curve in the set.
        Parameters:
        index - [in] the curve index, which should be less than size().
        Returns:
        a reference to the curve data.
      • surfaceLeft

        public Surface surfaceLeft​(long index)
        Get one of the neighbour surfaces to the curve.
        Parameters:
        index - [in] the curve index, which should be less than size().
        Returns:
        a reference to the surface.
      • surfaceRight

        public Surface surfaceRight​(long index)
        Get the other neighbour surfaces to the curve.
        Parameters:
        index - [in] the curve index, which should be less than size().
        Returns:
        a reference to the surface.