v_sim.PlaneClass¶
Fields¶
Name |
Type |
Access |
Description |
|---|---|---|---|
parent |
r |
the parent. |
Methods¶
class |
|
Details¶
- class v_sim.PlaneClass¶
An opaque structure.
- classmethod getOrderedIntersections(nVisuPlanes, listOfVisuPlanes, pointA, pointB, inter, index)¶
- Parameters:
nVisuPlanes (
int) – the number of planes (must be consistent with the number of planes in listOfVisuPlanes!)listOfVisuPlanes (
v_sim.Plane) – an array ofv_sim.Plane,Noneterminated ;pointA (
float) – three cartesian coordinates.pointB (
float) – three cartesian coordinates.inter (
float) – a pointer to the location to store the intersection points. Supposing you know the number of intersection points !index (
int) – a pointer to the location to store the indices of ordering of the planes.
- Returns:
Trueif the intersections are found.- Return type:
Compute the location of the intersection points of segment AB with list of planes listOfVisuPlanes. If there are several intersections, they are ordered by the proximity to point A.