Skip to content

由兩個頂點、一個角,計算三角形第三點坐標 #3

@jacky09299

Description

@jacky09299

寫一個flatten.py,包含一個函式calculate_third_point(s1,s2,alpha):

Input:兩個一維numpy陣列s1和s2,以及一個數字alpha
s1[0]表示點s1的x坐標,s1[1]表示點s1的y坐標,s2[0]表示點s2的x坐標,s2[1]表示點s2的y坐標
alpha 是角s3s1s2的角度

Output:一維numpy陣列s3

計算公式如下:
IMG_4720

提交方式:由main開新分支,將flatten.py放入developable_surface資料夾,然後提交pull request

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions