CloudPoint.ApplyTransform C# (CSharp) Method

ApplyTransform() public method

public ApplyTransform ( Matrix R, Vector, T ) : CloudPoint,
R Matrix
T Vector,
return CloudPoint,
    public CloudPoint ApplyTransform(Matrix R, Vector T)
    {
        // I can guarantee that this will work correctly so we index blindly
        var newLocation = (R * location.ToColumnMatrix() + T.ToColumnMatrix()).GetColumnVector(0);

        return new CloudPoint(newLocation, this.color, this.normal);
    }