The Cartesian grid and GC Coordinate System in theoretical geometry, defining space with an origin point and three axes at right angles. Learn about geometric elements like points, lines, planes, curves, and solids in relation to dimensionality.
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation
Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement.Téléchargez la présentation en cliquant sur ce lien.Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.
Almost anything can go into this box. Single values are easy to understand. Simple computations are easy, too. Scientific calculator stuff can be found in the function list. 5 Value Simple expression Function 5+2 Sin(5) fx
Almost anything can go into this box. Single values are easy to understand. Simple computations are easy, too. Scientific calculator stuff can be found in the function list. Compound statements follow BODMAS 5 Value Simple expression Function Complex expression 5+2 Sin(5) (1/Sin(5)) + 90
BODMAS B ( ) Brackets first O Orders (Powers, Roots) DM / * Division and Multiplication (left to right) AS + - Addition and Subtraction (left to right) Power: xy Pow(x,y)expl. x½ Pow(x,0.5) Root: x Sqrt(x) x Pow(x,(1/3)) 2 3
BODMAS B Brackets first O Orders (Powers, Roots) DM Division and Multiplication (left to right) AS Addition and Subtraction (left to right) 15 /(3 + 2) = ? 15 / 3 + 2 = ? (15 / 3)+ 2 = ?
BODMAS B Brackets first O Orders (Powers, Roots) DM Division and Multiplication (left to right) AS Addition and Subtraction (left to right) 15 /(3 + 2) = 3 15 / 3 + 2 = 7 (15 / 3)+ 2 = 7 IN COMPUTING, THERE ARE NEVER TOO MANY ROUND BRACKETS
Once a variable is defined (named) it can take on a value and be used in place of a value. Dave <> dave 5 dave = 8 Value Simple expression Function Complex expression Named variable Expression with named variable 5+2 Sin(5) (1/Sin(5)) + 90 dave dave*2
{ , , , , , , } Type‘Curly Brackets’ { }to define a list. Things in a list are indexed from 0. Indexing uses ‘Square Brackets’ [ ] List length counts how many items are in the list, starting with 1 (here it is 5). [0] [1] [2] [3] [4]
If we declare a variable called ‘dave’ as a list having the contents {A,B,C,D,E,F,G} Then we can refer to any item of that list individually by its index. Remember to count indices from 0. dave = {A,B,C,D,E,F,G} [0] [1] [2] [3] [4] [5] [6] dave[4] = ? dave[4] = ‘E’
Point A point is 0 dimensional. It has no size, volume, nothing. We use a symbol for it, so that we can see it. The Point symbol is different from the CoordinateSystem symbol.
Point Its handles allow moving it using constraints. Moves can be constrained to the X,Y, and Z axes, respectively. Using the angular handles moves are constrained to the respective planes.
Line If we have 2 points, there is a line that runs through them. Strictly, lines are infinite, and line segments are bounded, but common usage refers to bounded segments as lines.
Arc, Curves …are a bit more complicated to define.
BSplineCurve The math behind splines is complicated, but the geometric description is actually quite easy. This is one of the reasons why they are used frequently.
Solid There are lots of ways of making solids, but they are the only truly 3d objects in GC, as they have volume. That is not to say that the rest of the things are not 3d, it is just a technical geometry distinction.
3 > 2 > 1 We can reduce dimensions, too. Solids intersected with a plane or surface produce a closed curve.
3 > 2 > 1 Surfaces intersected with a plane or surface produce an open curve (usually).
3 > 2 > 1 > 0 Curve to curve intersections produce points. Be careful of extra points! Circles and other curves are known for this problem.
3 > 2 > 1 > 0 Curve curve intersections produce points. Be careful of extra points! Circles are classic for this problem.
3 > 2 > 1 > 0 Curve curve intersections produce points. Be careful of extra points! Or no points! Circles are classic for this problem.
Properties Courtesy of dot Net Framework, Microsoft
Objects have properties they can be values, or sub-objects either way, they have a type the ”dot” operator accesses an object’s properties Type some.name = “john” string some.leftLeg.foot.shoesize = 9.5 double some.rightLeg.foot.shoewidth = “wide” string some.carDrivingLicence = truebool(ean) object property dot operator
Data come in different kinds, like freight on a train. Each kind of freight requires a matching kind of freight car. Computers are similarly picky, they only deal with what they have been prepared to handle. So a type is a kind, a breed, a species, a flavor of data.
Object-oriented computing implements the idea that data and their methods, the pieces of program that manipulate these data, are bundled in packages. The general term for this is Class, i.e. a Class is a data type that includes the methods. Methods determine how objects behave. We’ll ignore for now other characteristics of OOPS.
“Simple” Variable Types (selection) bool (Boolean) Answer to a logical question (true, false) int (integer) Whole numbers (0, 5, -4, 1000, -500) double Real or decimal numbers(0.5, -7.8 ,15.0, 158.5436) string Some text (“hello world”, “450”, “dave”)
GC Classes = Feature Types (selection) Point GC’s feature type point Plane CoordinateSystem GC’s combination of point, directions, planes Direction GC’s “ray” Line Curve more general than Line, Arc, BSplineCurve BSplineSurface Solid User defined You can define your own feature types
In GC, classes are called Feature Types. For GC features the behavior is mostly generative. It is important to us how a feature gets first generated and subsequently updated. For simplicity, GC calls these methods Update Methods.
Connexion au compte
Connectez-vous pour publier votre contenu sur SlideServe.