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.4 date: 2021/01/20 14:32:04
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.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 06:00:13 GMT