Package | Description |
---|---|
org.scilab.forge.scirenderer.implementation.g2d.motor |
Modifier and Type | Class and Description |
---|---|
class |
Segment |
class |
SpritedRectangle |
class |
Triangle |
Modifier and Type | Field and Description |
---|---|
protected java.util.List<ConvexObject> |
Segment.segmentOn |
Modifier and Type | Method and Description |
---|---|
protected static java.util.List<ConvexObject> |
Triangle.breakIntersectingTriangles(Triangle t1,
Triangle t2)
Get the broken triangles in following the intersection of the planes containing t1 and t2.
|
java.util.List<ConvexObject> |
Triangle.breakObject(ConvexObject o) |
java.util.List<ConvexObject> |
SpritedRectangle.breakObject(ConvexObject o) |
java.util.List<ConvexObject> |
Segment.breakObject(ConvexObject o) |
abstract java.util.List<ConvexObject> |
ConvexObject.breakObject(ConvexObject o)
Abstract method
Break this ConvexObject against the ConvexObject o
|
java.util.List<ConvexObject> |
Triangle.breakObject(Segment o) |
java.util.List<ConvexObject> |
SpritedRectangle.breakObject(Segment o) |
java.util.List<ConvexObject> |
SpritedRectangle.breakObject(SpritedRectangle o) |
java.util.List<ConvexObject> |
Triangle.breakObject(Triangle o) |
java.util.List<ConvexObject> |
SpritedRectangle.breakObject(Triangle o) |
java.util.List<ConvexObject> |
Triangle.breakObject(Vector4d v) |
java.util.List<ConvexObject> |
SpritedRectangle.breakObject(Vector4d v) |
java.util.List<ConvexObject> |
Segment.breakObject(Vector4d v) |
abstract java.util.List<ConvexObject> |
ConvexObject.breakObject(Vector4d v)
Abstract method
Break this ConvexObject against a plane
|
protected static java.util.List<ConvexObject> |
Triangle.breakSegmentOnTriangle(Triangle t,
Segment s) |
protected static java.util.List<ConvexObject> |
Triangle.breakTriangleOnLine(Triangle t,
Vector3d p,
Vector3d n)
Break a triangle according to its intersection with a line containing p in the plane of the triangle and orthogonal to n
The triangle and the line are supposed to be coplanar.
|
Modifier and Type | Method and Description |
---|---|
void |
ConvexObject.addArea(ConvexObject co) |
void |
Segment.addConvexObject(ConvexObject co) |
boolean |
ConvexObject.areCoplanar(ConvexObject o)
Test the coplanarity of two objects
|
java.util.List<ConvexObject> |
Triangle.breakObject(ConvexObject o) |
java.util.List<ConvexObject> |
SpritedRectangle.breakObject(ConvexObject o) |
java.util.List<ConvexObject> |
Segment.breakObject(ConvexObject o) |
abstract java.util.List<ConvexObject> |
ConvexObject.breakObject(ConvexObject o)
Abstract method
Break this ConvexObject against the ConvexObject o
|
protected int |
ConvexObject.check(ConvexObject o,
Vector3d v)
Check the intersection this and o against vector v.
|
boolean |
ConvexObject.check2DIntersection(ConvexObject o)
Check the intersections of the projection on the xOy-plane of this and o
The algorithm is the following: for each edge, determinate the normal vector and project all the points
of this and o on the normal.
|
boolean |
ConvexObject.check2DTrueIntersection(ConvexObject o)
Check the intersections of the projection on the xOy-plane of this and o
The algorithm is the following: for each edge, determinate the normal vector and project all the points
of this and o on the normal.
|
int |
Triangle.isBehind(ConvexObject o) |
int |
Segment.isBehind(ConvexObject o) |
int |
ConvexObject.isBehind(ConvexObject o)
Check if o is behind this.
|
void |
Segment.removeConvexObject(ConvexObject co) |