This class represents a quadratic bezier segment between two points Instance variables: via <Point> The additional control point (OFF the curve)
bounds
Return the bounds containing the receiver
via
Return the control point
asBezier2Segment
Represent the receiver as quadratic bezier segment
asIntegerSegment
Convert the receiver into integer representation
from:to:
Initialize the receiver as straight line
from:to:via:
Initialize the receiver
from:to:withMidPoint:
Initialize the receiver with the pointOnCurve assumed at the parametric value 0.5
from:to:withMidPoint:at:
Initialize the receiver with the pointOnCurve at the given parametric value
printOn:
Print the receiver on aStream
printOnStream:
hasZeroLength
Return true if the receiver has zero length
isBezier2Segment
Return true if the receiver is a quadratic bezier segment
isStraight
Return true if the receiver represents a straight line
length
Return the length of the receiver
lineSegmentsDo:
Evaluate aBlock with the receiver's line segments
tangentAt:
Return the tangent at the given parametric value along the receiver
tangentAtEnd
Return the tangent for the last point
tangentAtStart
Return the tangent for the first point
valueAt:
Evaluate the receiver at the given parametric value
from:via:to:
from:withMidPoint:at:to:
from:withMidPoint:to: