- Object
-
- Feature
-
- Direct Known Subclasses:
EdgeFeature
,PointFeature
public abstract class Feature extends Object
Represents an indexed feature of aShape
.- Since:
- 1.0.0
- Version:
- 3.2.0
- Author:
- William Bittle
-
-
Field Summary
Fields Modifier and Type Field Description static int
NOT_INDEXED
Index for non-indexed vertices
-
Constructor Summary
Constructors Constructor Description Feature(int index)
Minimal constructor.
-
-
-
Field Detail
-
NOT_INDEXED
public static final int NOT_INDEXED
Index for non-indexed vertices- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Feature
public Feature(int index)
Minimal constructor.- Parameters:
index
- the index of the feature in theShape
-
-
Method Detail
-
getIndex
public int getIndex()
Returns the edge index.If the index ==
NOT_INDEXED
then this feature represents a curved shape feature.- Returns:
- int
-
-