Rotate(axisStart, axisEnd, angle)
Legend Class Struct Enum Interface Delegate | Constructor Method Property Event Field |
| Struct: RT.Modeling.PtSummaryEncapsulates a point in 3D space or a 3D vector. ConstructorsPt(double x, double y, double z) | Constructor. |
Instance methodsPt | Add(double x = 0, double y = 0, double z = 0) | Moves this point/vector by the specified amount in 3D space. | double | |
Calculates the distance between two points in 3D space. | double | | Calculates the vector dot product. | bool | | Refer to the documentation for object.Equals. | bool | | Refer to the documentation for IEquatable<Pt>.Equals. | double[] | |
Returns a 3×3 matrix that describes a linear transform that will rotate objects in accordance with the
orientation of the camera. This can be passed to Pt.ProjectOntoCamera(Pt, double[]) to project 3D
objects into a 2D representation. | int | | Refer to the documentation for object.GetHashCode. | Pt | | Scales this vector to make its length equal to 1 (or returns the same vector if it is zero). | PointD | |
Projects a point onto a 2D canvas using a linear-transformation matrix. | PointD | |
Projects a point onto a camera. | Pt | |
Projects this vector onto the plane that has the specified normal vector. | Pt | |
Rotates this point counter-clockwise about the specified axis by the specified angle in degrees. | Pt | Scale(double x = 1, double y = 1, double z = 1) | Scales (stretches or shrinks) this point/vector along each axis by the specified multiplicative factors. | Pt | | Scales (stretches or shrinks) this point/vector along the x-axis by the specified multiplicative factor. | Pt | | Scales (stretches or shrinks) this point/vector along the y-axis by the specified multiplicative factor. | Pt | | Scales (stretches or shrinks) this point/vector along the z-axis by the specified multiplicative factor. | Pt | Set(double? x = null, double? y = null, double? z = null) | Overrides some of the specific coordinates of this point/vector. | string | | Refer to the documentation for object.ToString. | MeshVertexInfo | | Converts this point to a MeshVertexInfo with the specified normal vector. | MeshVertexInfo | WithMeshInfo(double normalX, double normalY, double normalZ) | MeshVertexInfo | | Converts this point to a MeshVertexInfo with the specified normal vector instructions. | VertexInfo | | Converts this point to a vertex with the specified normal vector. | VertexInfo | | VertexInfo | | Converts this point to a vertex with the specified texture coordinates (UV mapping). | VertexInfo | |
OperatorsPt | | Adds two vectors. | Pt | | Divides a vector by a scalar. | bool | | Compares two points/vectors for equality. | bool | | Compares two points/vectors for inequality. | Pt | | Multiplies a vector by a scalar. | Pt | | Pt | | Calculates the vector cross product. | Pt | |
Multiplies a 3D point/vector by a matrix. | Pt | | Subtracts a vector from another. | Pt | | Negates a vector. |
Static propertiesPt | | The origin point of the 3D coordinate space. | Pt | | The unit vector in the direction of the x-axis. | Pt | | The unit vector in the direction of the y-axis. | Pt | | The unit vector in the direction of the z-axis. |
Instance propertiesbool | | Determines if this point/vector is all zeros. | double | | Returns the length of the vector, or this point’s distance from the origin. |
Instance fieldsdouble | | X-coordinate. | double | | Y-coordinate. | double | | Z-coordinate. |
|