Skip to content

Normal orientation #109

Open
Open
@AnirudhaVyas

Description

@AnirudhaVyas

Hello

Using the geometric operation toolbox I was able to get the normal vectors, now I wanted to know how to calculate the orientations w.r.t. X,Y,Z axis respectively. I was using the formula theta = arccos((dot(n,x)/(norm(x)* norm(x)).

where n is the unit normal vector and x is [1, 0, 0] (for finding orientation along x-axis).

For n = [-.93 , 0 ,-0.34] , I am getting alpha as 159.91, which is correct but that angle can be in the second as well as third quadrant (while seeing it in X Z coordinate frame), so wanted to know on what basis this can be stated correctly to which quadrant it belongs

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionThis is just a question

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions