Prod.: Engine, ver.: 6003, ID: 60000066, Wish : GroundSurface wishes

Wish : GroundSurface wishes

Article60000066
TypeWish
ProductEngine
Version6003
Date Added3/7/2007
FixedYes [3/7/2007]
Submitted byGiorspyros Visarion
Keywords

Subject

GroundSurface wishes

Summary

GroundSurface wishes:

1. Calculate the section of vdGroundSurface triangles with a plane

2.Intersection of a triangle with a vector line

3.Intersection of a triangle with a plane.



 

Solution



In 6004 new methods added:



gTriangle methods:
    GetPlane            (Calculates the plane geometry of the triagle.)
    IntersectWithPlane  (Checks if a triangle intersects with a plane)
    IntersectWithVector (Checks if a vector line intersects a plane)
    InterpolatePoint    (Calculates the projection of the passed 2d point to a plane.)
    IsPointInThis       (Checks if the given point is inside the triangle.)


vdGroundSurface methods:
    CalculateContours   (Calculate the section of the triangles with a plane)