Click or drag to resize

SubDEdgeSharpness Properties

The SubDEdgeSharpness type exposes the following members.

Properties
  NameDescription
Public propertyAverage
Gets the average of the two end sharpness values.
Public propertyStatic memberCrease
A sharpness of CreaseValue at both ends, used to indicate that an edge is a crease rather than a sharp edge. IsValid is false for this value; see IsValidOrCrease.
Public propertyDelta
Gets EndSharpness(1) - EndSharpness(0), or NaN if this is neither valid nor a crease.
Public propertyIsConstant
Gets true if both ends have the same valid sharpness value. Crease and Nan are both false; see IsConstantOrCrease.
Public propertyIsConstantOrCrease
Gets true if both ends have the same valid sharpness value, or if this is Crease.
Public propertyIsCrease
Gets true if this is Crease.
Public propertyIsCreaseOrSharp
Gets (IsCrease || IsSharp).
Public propertyIsDecreasing
Gets true if EndSharpness(0) is greater than EndSharpness(1).
Public propertyIsIncreasing
Gets true if EndSharpness(0) is less than EndSharpness(1).
Public propertyIsNotValid
Gets the opposite of IsValid. Crease and Nan are both true.
Public propertyIsNotValidNorCrease
Gets the opposite of IsValidOrCrease. Nan is true and Crease is false.
Public propertyIsSharp
Gets true if both ends are valid and at least one is greater than 0.0. Crease and Nan are both false: a crease edge is not a sharp edge.
Public propertyIsValid
Gets true if both ends are between 0.0 and MaximumValue. Crease and Nan are both false; see IsValidOrCrease.
Public propertyIsValidOrCrease
Gets true if both ends are between 0.0 and MaximumValue, or if this is Crease.
Public propertyIsVariable
Gets true if this is valid and the two ends differ. Crease and Nan are both false.
Public propertyIsZero
Gets true if both ends are 0.0, which is the sharpness of a smooth edge.
Public propertyItem
Gets the sharpness at the start or the end of the edge.
Public propertyStatic memberMaximum
A sharpness of MaximumValue at both ends. This is the sharpest an edge can be without being a crease.
Public propertyMaximumEndSharpness
Gets the larger of the two end sharpness values.
Public propertyMinimumEndSharpness
Gets the smaller of the two end sharpness values.
Public propertyStatic memberNan
A sharpness whose ends are both NaN. This is what the factory methods return when their input is not valid.
Public propertyStatic memberSmooth
A sharpness of 0.0 at both ends, which is what a smooth edge has. This is also the default value of a SubDEdgeSharpness.
Public propertyTrend
Gets +1 if the sharpness increases along the edge, -1 if it decreases, and 0 if it is constant. Returns UnsetIntIndex if this is not valid.
Top
See Also