Class PoParallelogram

  • All Implemented Interfaces:
    SafeDisposable

    public class PoParallelogram
    extends PoGraphMaster
    Class for a 2D parallelogram. Class to build a parallelogram in the plane XY. A parallelogram is defined by three points, p,q,r where the segment PR defines a diagonal of the parallelogram.

    File format/default:

    PoParallelogram {

      p 0 0
      q 1 0
      r 1 1
    }

    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> <html> <head> <link REL="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style"> <title></title> </head> <BODY> <h1></h1> <h4> <A NAME="Heading257">CATALOG PARTS</A></h4> <ul><b>PoParallelogram</b> {</ul> <ul><ul><b>Separator</b> <tt>alternateRep</tt> (from PoBase) {<br> </ul></ul> <ul><ul><ul><b>AppearanceKit</b> <tt>appearance</tt> (from PoBase)</ul></ul></ul> <ul><ul><ul><i>Specifies the appearance of all the kit. By default lightModel.model=BASE_COLOR.</i></ul></ul></ul> <ul><ul><ul><b>MatrixTransform</b> <tt>domainTransform</tt> (from PoBase)</ul></ul></ul> <ul><ul><ul><i>Corresponds to the domain transformation.</i></ul></ul></ul> <ul><ul><ul><ul></ul></ul></ul></ul> <ul><ul><ul><b>Group</b> <tt>parallelogram</tt></ul></ul></ul> <ul><ul><ul><i>Contains a SoFaceSet shape to draw the parallelogram.</i></ul></ul></ul> <ul><ul>}</ul></ul> <ul>}</ul> <p> </body> </html>

    • Field Detail

      • p

        public final SoSFVec2f p
        First point of the parallelogram.
      • q

        public final SoSFVec2f q
        Second point of the parallelogram.
      • r

        public final SoSFVec2f r
        Third point of the parallelogram.
    • Constructor Detail

      • PoParallelogram

        public PoParallelogram()
        Default constructor.