2024 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
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
M op_Addition(UV, UV) UV Adds the two specified 2-D vectors and returns the result.
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 op_Division(UV, Double) UV Divides the specified 2-D vector by the specified value.
M DotProduct(UV) double The dot product of this 2-D vector and the specified 2-D vector.
M GetLength() double The length of this 2-D vector.
M IsAlmostEqualTo(UV) bool 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) bool Determines whether this 2-D vector and the specified 2-D vector are the same within a specified tolerance.
M IsUnitLength() bool The boolean value indicates whether this 2-D vector is of unit length.
M IsZeroLength() bool 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 op_Multiply(Double, UV) UV The product of the specified number and the specified 2-D vector.
M op_Multiply(UV, Double) UV The product of the specified number and the specified 2-D vector.
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 op_Subtraction(UV, UV) UV Subtracts the two specified 2-D vectors and returns the result.
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.
M op_UnaryNegation(UV) UV Negates this 2-D vector and returns the result.
Name Return Type Description
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.