UV
Description:
Object representing coordinates in 2-dimensional space.
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.
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
System.Object
Autodesk.Revit.DB.UV
public class UV
| Name | Return Type | Description |
|---|---|---|
| UV() | None | Creates a default UV with the values (0, 0). |
| UV(Double, Double) | None | Creates a UV with the supplied coordinates. |
| Name | Return Type | Description |
|---|---|---|
| op_Addition(UV, UV) | UV | Adds the two specified 2-D vectors and returns the result. |
| Add(UV) | UV | Adds the specified 2-D vector to this 2-D vector and returns the result. |
| AngleTo(UV) | double | Returns the angle between this vector and the specified vector. |
| CrossProduct(UV) | double | The cross product of this 2-D vector and the specified 2-D vector. |
| DistanceTo(UV) | double | Returns the distance from this 2-D point to the specified 2-D point. |
| Divide(Double) | UV | Divides this 2-D vector by the specified value and returns the result. |
| op_Division(UV, Double) | UV | Divides the specified 2-D vector by the specified value. |
| DotProduct(UV) | double | The dot product of this 2-D vector and the specified 2-D vector. |
| GetLength() | double | The length of this 2-D vector. |
| IsAlmostEqualTo(UV) | bool | Determines whether this 2-D vector and the specified 2-D vector are the same within the tolerance (1.0e-09). |
| IsAlmostEqualTo(UV, Double) | bool | Determines whether this 2-D vector and the specified 2-D vector are the same within a specified tolerance. |
| IsUnitLength() | bool | The boolean value indicates whether this 2-D vector is of unit length. |
| IsZeroLength() | bool | The boolean value indicates whether this 2-D vector is a zero vector. |
| Multiply(Double) | UV | Multiplies this 2-D vector by the specified value and returns the result. |
| op_Multiply(Double, UV) | UV | The product of the specified number and the specified 2-D vector. |
| op_Multiply(UV, Double) | UV | The product of the specified number and the specified 2-D vector. |
| Negate() | UV | Negates this 2-D vector. |
| Normalize() | UV | Returns a new UV whose coordinates are the normalized values from this vector. |
| op_Subtraction(UV, UV) | UV | Subtracts the two specified 2-D vectors and returns the result. |
| Subtract(UV) | UV | Subtracts the specified 2-D vector from this 2-D vector and returns the result. |
| ToString() | string | Gets formatted string showing (U, V) with values formatted to 9 decimal places. |
| op_UnaryNegation(UV) | UV | Negates this 2-D vector and returns the result. |