2027 Class
Changes 0
C

UV

Description:
Object representing coordinates in 2-dimensional space.
Remarks:
Usually this means parameters on a surface. In actual use, it could be interpreted as either point or vector in 2-dimensional space.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.UV
public class UV
Name Return Type Description Inherited From
C UV() None Creates a default UV with the values (0, 0).
C UV(Double, Double) None Creates a UV with the supplied coordinates.
Name Return Type Description Inherited From
M Add(UV) UV Adds the specified 2-D vector to this 2-D vector and returns the result.
M AngleTo(UV) Double Returns the angle between this vector and the specified vector.
M CrossProduct(UV) Double The cross product of this 2-D vector and the specified 2-D vector.
M DistanceTo(UV) Double Returns the distance from this 2-D point to the specified 2-D point.
M Divide(Double) UV Divides this 2-D vector by the specified value and returns the result.
M DotProduct(UV) Double The dot product of this 2-D vector and the specified 2-D vector.
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetLength() Double The length of this 2-D vector.
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M IsAlmostEqualTo(UV) Boolean Determines whether this 2-D vector and the specified 2-D vector are the same within the tolerance (1.0e-09).
M IsAlmostEqualTo(UV, Double) Boolean Determines whether this 2-D vector and the specified 2-D vector are the same within a specified tolerance.
M IsUnitLength() Boolean The boolean value indicates whether this 2-D vector is of unit length.
M IsZeroLength() Boolean The boolean value indicates whether this 2-D vector is a zero vector.
M Multiply(Double) UV Multiplies this 2-D vector by the specified value and returns the result.
M Negate() UV Negates this 2-D vector.
M Normalize() UV Returns a new UV whose coordinates are the normalized values from this vector.
M Subtract(UV) UV Subtracts the specified 2-D vector from this 2-D vector and returns the result.
M ToString() String Gets formatted string showing (U, V) with values formatted to 9 decimal places. (Overrides Object . ToString () )
Name Return Type Description Inherited From
O Addition(UV, UV) UV Adds the two specified 2-D vectors and returns the result.
O Division(UV, Double) UV Divides the specified 2-D vector by the specified value.
O Multiply(Double, UV) UV The product of the specified number and the specified 2-D vector.
O Multiply(UV, Double) UV The product of the specified number and the specified 2-D vector.
O Subtraction(UV, UV) UV Subtracts the two specified 2-D vectors and returns the result.
O UnaryNegation(UV) UV Negates this 2-D vector and returns the result.
Name Return Type Description Inherited From
P BasisU UV The basis of the U axis.
P BasisV UV The basis of the V axis.
P Item double
P U double Gets the first coordinate.
P V double Gets the second coordinate.
P Zero UV The coordinate origin or zero 2-D vector.