Packages

 

com.aspose.cad.fileformats.cad.cadobjects

Interfaces

Classes

com.aspose.cad.fileformats.cad.cadobjects

Class CadSpline



  • public class CadSpline
    extends CadBaseEntity

    Class describing Cad SPLINE

    • Constructor Detail

      • CadSpline

        public CadSpline()

        Initializes a new instance of the CadSpline class.

    • Method Detail

      • getControlPointsNumber

        public final short getControlPointsNumber()

        Gets or sets the control points number.

        Returns:
        The control points number.
      • setControlPointsNumber

        public final void setControlPointsNumber(short value)

        Gets or sets the control points number.

        Parameters:
        value - The control points number.
      • getKnotsNumber

        public final short getKnotsNumber()

        Gets or sets the knots number.

        Returns:
        The knots number.
      • setKnotsNumber

        public final void setKnotsNumber(short value)

        Gets or sets the knots number.

        Parameters:
        value - The knots number.
      • getTypeName

        public int getTypeName()

        Gets the name of the type.

        Overrides:
        getTypeName in class CadBaseEntity
        Returns:
        The name of the type.
      • getKnotTolerance

        public final double getKnotTolerance()

        Gets or sets the knot tolerance.

        Returns:
        The knot tolerance.
      • setKnotTolerance

        public final void setKnotTolerance(double value)

        Gets or sets the knot tolerance.

        Parameters:
        value - The knot tolerance.
      • getControlPointTolerance

        public final double getControlPointTolerance()

        Gets or sets the control point tolerance.

        Returns:
        The control point tolerance.
      • setControlPointTolerance

        public final void setControlPointTolerance(double value)

        Gets or sets the control point tolerance.

        Parameters:
        value - The control point tolerance.
      • getControlPoints

        public final List<Cad3DPoint> getControlPoints()

        Gets or sets the control points.

        Returns:
        The control points.
      • setControlPoints

        public final void setControlPoints(List<Cad3DPoint> value)

        Gets or sets the control points.

        Parameters:
        value - The control points.
      • getCurveDegree

        public final short getCurveDegree()

        Gets or sets the curve degree.

        Returns:
        The curve degree.
      • setCurveDegree

        public final void setCurveDegree(short value)

        Gets or sets the curve degree.

        Parameters:
        value - The curve degree.
      • getDegree

        public final int getDegree()

        Gets or sets the degree.

      • setDegree

        public final void setDegree(int value)

        Gets or sets the degree.

      • getEndTangent

        public final Cad3DPoint getEndTangent()

        Gets or sets the end tangent.

        Returns:
        The end tangent.
      • setEndTangent

        public final void setEndTangent(Cad3DPoint value)

        Gets or sets the end tangent.

        Parameters:
        value - The end tangent.
      • getFitPoints

        public final List<Cad3DPoint> getFitPoints()

        Gets or sets the fit points.

        Returns:
        The fit points.
      • setFitPoints

        public final void setFitPoints(List<Cad3DPoint> value)

        Gets or sets the fit points.

        Parameters:
        value - The fit points.
      • getFitPointsNumber

        public final short getFitPointsNumber()

        Gets or sets the fit points number.

        Returns:
        The fit points number.
      • setFitPointsNumber

        public final void setFitPointsNumber(short value)

        Gets or sets the fit points number.

        Parameters:
        value - The fit points number.
      • getFitTolerance

        public final double getFitTolerance()

        Gets or sets the fit tolerance.

        Returns:
        The fit tolerance.
      • setFitTolerance

        public final void setFitTolerance(double value)

        Gets or sets the fit tolerance.

        Parameters:
        value - The fit tolerance.
      • getKnotValues

        public final List<Double> getKnotValues()

        Gets or sets the knot values.

        Returns:
        The knot values.
      • setKnotValues

        public final void setKnotValues(List<Double> value)

        Gets or sets the knot values.

        Parameters:
        value - The knot values.
      • getKnotWeight

        public final List<Double> getKnotWeight()

        Gets or sets the knot weight.

      • setKnotWeight

        public final void setKnotWeight(List<Double> value)

        Gets or sets the knot weight.

      • getPeriodirc

        public final short getPeriodirc()

        Gets or sets the periodic

      • setPeriodirc

        public final void setPeriodirc(short value)

        Gets or sets the periodic

      • getRational

        public final short getRational()

        Gets or sets the rational

      • setRational

        public final void setRational(short value)

        Gets or sets the rational

      • getSplineFlag

        public final short getSplineFlag()

        Gets or sets the spline flag.

        Returns:
        The spline flag.
      • setSplineFlag

        public final void setSplineFlag(short value)

        Gets or sets the spline flag.

        Parameters:
        value - The spline flag.
      • getStartTangent

        public final Cad3DPoint getStartTangent()

        Gets or sets the start tangent.

        Returns:
        The start tangent.
      • setStartTangent

        public final void setStartTangent(Cad3DPoint value)

        Gets or sets the start tangent.

        Parameters:
        value - The start tangent.
      • getWeightParams

        public final List<Double> getWeightParams()

        Gets or sets the weight parameter

        Returns:
        The weight parameter
      • setWeightParams

        public final void setWeightParams(List<Double> value)

        Gets or sets the weight parameter

        Parameters:
        value - The weight parameter
      • getNormalVector

        public final Cad3DPoint getNormalVector()

        Gets or sets the normal vector

        Returns:
        The normal vector
      • setNormalVector

        public final void setNormalVector(Cad3DPoint value)

        Gets or sets the normal vector

        Parameters:
        value - The normal vector