IDP.Math.KGeomLib.curve2dsFromJson() method
从Json string中读取curve2d数据并创建相应对象。 加这个接口函数的目的是方便内部写测试用例来测试math apaas接口。 Note: 我们永远不应该加XXXToJson()这样的apaas接口。
Read curve2d data and create corresponding curve2d object from the Json string. The only purpose of adding this api is to add internal test cases more conveniently. Note: We will never add Json writing api like XXXToJson().
Signature:
curve2dsFromJson(jsonString: string): KCurve2d[];
Links: curve2dsFromJson(jsonString: string): KCurve2d[];
Parameters
Parameter | Type | Description |
---|---|---|
jsonString | string |
Returns:
KCurve2d[]
返回二维曲线对象集合。
Return curve2d objects.