triangle-generation

How do I extract a 2D slice from 3D geometry from plane intersection?

Hello world. Recently our team was facing the task to build the 2D slice between a plane and some set of 3D geometry (set of triangles). Google hasn't been as helpful as we have wanted it to be, so we turn our attention here to see if anyone has encountered this problem with a possible solution. Links are also wanted. Finding the inter...

General Polygon Clipper: Attach data to vertex

How can I attach data to a gpc_vertex instance? I am planning to attach vertex indices to the gpc_vertex itself in order to build a Direct3D IndexBuffer later on... ...

General Polygon Clipper: Triangulate without additional vertices

I am using GPC to break up polygons into triangles. However, GPC is very obviously creating additional vertices while generating triangles. Is there a way to avoid this? ...

XNA C# getting 12 trangle faces of a cube , given (MIN,MAX) of BoundingBox

Is there a eazy way or c# class to get 12 triangles of a cube where, only (MIN,MAX) coordinates are known for the BoundingBox cube i want to use PrimitiveType.TriangleList for rendering face of cube but dont know how to get static indices array of 12 triangles which can be defined by , MIN ,MAX vertices of the cube . I am using C# w...

Android-Java: Constructing a triangle based on Coordinates on a map and your bearing

Thanks, EDIT/// Converting the outcome to radians gives me a lat of 5.6xxxxxxxxxxxxxx .I have a feeling this bug has something to do with conversions but its not THAT simple. The equation is correct, it just.. outputs wrong.. ...

Create 2d triangles from 2d points

Hi, I have to make 2d triangles from a list of 2d points with a condition: length of any edge can't be longer than a predefined constant. Something like this: Do you know any algorithm that can do this? Or any advise? Thanks! ...