Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to convert WGS84 coordinate system? #219

Closed
DimplesHei opened this issue Nov 14, 2024 · 0 comments
Closed

How to convert WGS84 coordinate system? #219

DimplesHei opened this issue Nov 14, 2024 · 0 comments

Comments

@DimplesHei
Copy link

How to perform coordinate transformation when creating a wgs84 model with code?

var p1,p2,p3 .....//wgs84

var tri = new Triangle(
new Point(p1.X, p1.Y, p1.Z),
new Point(p2.X, p2.Y, p2.Z),
new Point(p3.X, p3.Y, p3.Z),
batchId
);

if (createGltf)
{
DrawTriangleWithFeatureId(tri, material, meshFeatureIds);
}
else
{
DrawTriangleWithBatchId(tri, material, meshBatchId);
}

does tri need to be converted?

@bertt bertt closed this as completed Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants