WeightStyle Enumeration

Enumeration of how weights are carried

  • UnWeighted (0) -- there are no weights
  • WeightsAlreadyAppliedToCoordinates (1) -- for real point (x,y,z) the homogeneous point has weight applied throughout as (wx,wy,wz,w)
  • WeightsSeparateFromCoordinates (2) -- for real point (x,y,z) the homogeneous point is (x,y,z,w)
    • Note that "internal" computations never use WeightsSeparateFromCoordinates.
    • WeightsSeparateFromCoordinates is only useful as input or output state in serializers.

Members

Name Value Description
UnWeighted 0 There are no weights.
WeightsAlreadyAppliedToCoordinates 1 Data is weighted
point with normalized coordinate [x,y,z] and weight w has weights already multiplied in as [x*w,y*w,z*w,w]
WeightsSeparateFromCoordinates 2 Data is weighted
point with normalized coordinate [x,y,z] and weight w has is [x,y,z,w]

Defined in

Last Updated: 20 September, 2019