Click or drag to resize

SubDEdgeSharpness Methods

The SubDEdgeSharpness type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCreateEdgeChainSharpness
Builds a sequence of evenly changing sharpnesses for the edges of a chain.
Public methodEndSharpness
Gets the sharpness at the start or the end of the edge.
Public methodStatic memberEqualDelta
Determines whether two sharpnesses have the same Delta and meet with the same value.
Public methodStatic memberEqualEndSharpness
Determines whether two sharpnesses meet with the same value, that is, whether s0.EndSharpness(1) equals s1.EndSharpness(0).
Public methodEquals(Object)
Determines whether an object is a sharpness with the same end values as this one.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(SubDEdgeSharpness)
Determines whether this sharpness has the same end values as another one.
Public methodStatic memberEqualTrend
Determines whether two sharpnesses have the same Trend and meet with the same value.
Public methodStatic memberFromConstantPercentage
Creates a sharpness with the same value at both ends, from a percentage. This is useful in user interface code that expresses sharpness as a percentage.
Public methodStatic memberFromIntervalPercentage(Interval)
Creates a sharpness that varies from one end of the edge to the other, from percentages. This is useful in user interface code that expresses sharpness as a percentage.
Public methodStatic memberFromIntervalPercentage(Double, Double)
Creates a sharpness that varies from one end of the edge to the other, from percentages. This is useful in user interface code that expresses sharpness as a percentage.
Public methodGetHashCode
Gets a hash code for this sharpness.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberIsValidValue
Determines whether a value can be used as an edge end sharpness.
Public methodReversed
Gets this sharpness with its two end values swapped.
Public methodStatic memberSanitize(Double)
Verifies that sharpness is between 0.0 and MaximumValue, and snaps it to an integer when it is within Tolerance of one.
Public methodStatic memberSanitize(Double, Double)
Verifies that sharpness is between 0.0 and MaximumValue, and snaps it to an integer when it is within Tolerance of one.
Public methodStatic memberSharpnessFromNormalizedValue
Converts a normalized slider value to an edge end sharpness value.
Public methodStatic memberSharpnessFromSliderValue
Converts a user facing slider value to an edge end sharpness value.
Public methodSubdivided
Gets the sharpness this edge would have after one subdivision.
Public methodStatic memberToPercentage
Converts a sharpness value to a percentage between 0.0 and 100.0.
Public methodToPercentageText(Boolean)
Describes this sharpness as a percentage, for user interface code. A constant sharpness gives a single percentage, a variable one gives a range, and an invalid one gives a warning sign.
Public methodStatic memberToPercentageText(Double)
Describes a single end sharpness value as a percentage, for user interface code.
Public methodToString
Returns a string that represents this sharpness as a percentage.
(Overrides ValueTypeToString.)
Public methodStatic memberUnion
Gets the union of two sharpness ranges, ignoring the ones that are zero, a crease, or not valid.
Public methodStatic memberVertexSharpness
Calculates the sharpness of a vertex from the sharp edges attached to it. Vertices tagged as corners always have a sharpness of 0.0.
Top
See Also