org.graphstream.ui.util

ShapeUtil

object ShapeUtil extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. ShapeUtil
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  7. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  8. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  9. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def evalBoxRadius2D (p0: Point3, p1: Point3, p2: Point3, p3: Point3, w: Double, h: Double): Double

    Compute the length of a vector along the edge from the box centre that match the box "radius".

    Compute the length of a vector along the edge from the box centre that match the box "radius".

    w

    The box first radius (width/2).

    h

    The box second radius (height/2).

    returns

    The length of the radius along the edge vector.

  11. def evalEllipseRadius2D (p0: Point3, p1: Point3, p2: Point3, p3: Point3, w: Double, h: Double): Double

    Compute the length of a vector along the edge from the ellipse centre that match the ellipse radius.

    Compute the length of a vector along the edge from the ellipse centre that match the ellipse radius.

    w

    The ellipse first radius (width/2).

    h

    The ellipse second radius (height/2).

    returns

    The length of the radius along the edge vector.

    Attributes
    protected
  12. def evalEllipseRadius2D (p0: Point3, p1: Point3, p2: Point3, p3: Point3, w: Double, h: Double, s: Double): Double

    Attributes
    protected
  13. def evalTargetRadius2D (style: Style, info: NodeInfo, p0: Point3, p1: Point3, p2: Point3, p3: Point3, camera: Camera): Double

  14. def evalTargetRadius2D (edge: GraphicEdge, p0: Point3, p1: Point3, p2: Point3, p3: Point3, camera: Camera): Double

  15. def evalTargetRadius2D (style: Style, info: NodeInfo, p0: Point3, p3: Point3, camera: Camera): Double

  16. def evalTargetRadius2D (from: Point3, to: Point3, node: GraphicNode, camera: Camera): Double

    Consider the edge as going from from to to.

  17. def evalTargetRadius2D (edge: GraphicEdge, camera: Camera): Double

    Try to evaluate the "radius" of the edge target node shape along the edge.

    Try to evaluate the "radius" of the edge target node shape along the edge. In other words this method computes the intersection point between the edge and the node shape contour. The returned length is the length of a line going from the centre of the shape toward the point of intersection between the target node shape contour and the edge.

    edge

    The edge (it contains its target node).

    returns

    The radius.

  18. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  19. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef
  20. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  21. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  22. def isPointIn (elt: GraphicElement, p: Point3, w: Double, h: Double): Boolean

    Compute if point p is inside of the shape of elt whose overall size is w x h.

  23. def isPointIn2DBox (p: Point3, x: Double, y: Double, w: Double, h: Double): Boolean

    Compute if point p is inside of a rectangular shape of overall size w x h.

  24. def isPointIn2DEllipse (p: Point3, x: Double, y: Double, w: Double, h: Double): Boolean

    Compute if point p is inside of a ellipsoid shape of overall size w x h.

  25. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  26. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  27. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  28. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  29. def toString (): String

    Definition Classes
    AnyRef → Any
  30. def wait (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  31. def wait (arg0: Long, arg1: Int): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  32. def wait (arg0: Long): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any