Geometry and Feature classes
We've been using feature objects throughout the chapter so far without really talking about the Feature class itself. We also have hinted at the Geometry class, but we haven't gone into any detail so far. This section will cover both classes in a bit more detail so that you can gain a bit more confidence working with them. Don't worry—it's easy, you've already been exposed to both classes.
Before we get into the Feature class though, we should go over the Geometry class, as it's used to create the actual geometry objects that make up a feature object.
Geometry class
The Geometry class is, more or less, the foundation of the feature objects we've seen so far. Specifically, up to this point, we have been using the Feature.Vector
class as the base class for our feature objects. We'll talk more about that shortly, but for now it is just important to know that the Feature.Vector
class uses the Geometry
class to store geometry information about a feature.
But what exactly...