def _get_curve_points(self):
        self._jointPos = []

        firstCVPos = self._curve.cvPositions[0]
        zeroCVsPos = pm.dt.Vector(self._curve.cvPositions[0])

        if not self.horizontalSpine:
            zeroCVsPos[1] = zeroCVsPos[1] - (self._curve.arclen / 10)
        else:
            zeroCVsPos[2] = zeroCVsPos[2] - (self._curve.arclen / 10)

        self._jointsPos.append(zeroCVsPos)
        self._jointsPos.append(firstCVPos)

        for i in range(2, (self._curve.numCVs - 2)):
            self._jointsPos.append(self._curve.cvPositions[i])
        lastCVPos = self._curve.cvPositions[self._curve.numCVs - 1]
        self._jointsPos.append(lastCVPos)

    # PROPERTIES
dataset/ETHPy150Open eoyilmaz/anima/anima/rig/joint.py/SpineJoints._get_curve_points/original