eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'Bezier2Segment':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: Bezier2Segment


Inheritance:

   Object
   |
   +--Geometric
      |
      +--LineSegment
         |
         +--Bezier2Segment

Package:
stx:libbasic2
Category:
Graphics-Geometry-Objects
Version:
rev: 1.3 date: 2003/08/29 17:32:22
user: cg
file: Bezier2Segment.st directory: libbasic2
module: stx stc-classLibrary: libbasic2

Description:


borrowed from Squeak2.4

This class represents a quadratic bezier segment between two points

Instance variables:
    via             <Point> The additional control point (OFF the curve)


Class protocol:

instance creation
o  from: startPoint via: viaPoint to: endPoint


Instance protocol:

accessing
o  via
Return the control point

initialization
o  from: start to: end
Initialize the receiver as straight line

o  from: start to: end via: viaPoint
Initialize the receiver

testing
o  isBezier2Segment
return true, if the receiver is a quadratic bezier segment



ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Sun, 23 Sep 2018 10:49:22 GMT