|
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use PicPoint | |
---|---|
jpicedt | Contains the main JPicEdt class, as well as some utilities. |
jpicedt.format.input.latex | Parser grammar for the LaTeX picture environment format. |
jpicedt.format.input.pstricks | Pstricks grammar tree. |
jpicedt.format.input.util | This package contains helper classes for building a parser based on the well-known RegExp scheme, yet with a strong object-oriented approach in mind. |
jpicedt.format.output.dxf | Classes (formatter, view factory,…) related to the DXF (Drawing eXchange Format, as defined by Autodesk) content-type. |
jpicedt.format.output.eepic | Classes (formatter, view factory,…) related to the epic/eepic content-type. |
jpicedt.format.output.latex | Classes (formatter, view factory,…) related to the LaTeX (standard) content-type. |
jpicedt.graphic | jPicEdt library core classes and packages. |
jpicedt.graphic.event | Various events used for the communication between model, view and
controler, as well as to notify external receivers of changes in the
document structure, appearance,… |
jpicedt.graphic.grid | Grids for PECanvas. |
jpicedt.graphic.io.formatter | Interfaces and base classes useful to implement a formatter for a given format, for instance Pstricks. |
jpicedt.graphic.model | Document structure and graphic primitives. |
jpicedt.graphic.toolkit | Controller (document editing through UI actions) |
jpicedt.graphic.util | Bibliothèque de classes pour effectuer des calculs graphiques: rognage de forme zones convexes algèbre linéaire en 2D |
jpicedt.graphic.view | Document appearance. |
jpicedt.graphic.view.highlighter | Aspect visuel de la mise en vedette. |
jpicedt.ui | Some classes and interfaces that help building concrete implementation of MDIManager's. |
jpicedt.ui.dialog | Contains utilities classes for building various dialog boxes (preferences editing, graphic elements properties,...) |
jpicedt.ui.internal | Implementation of MDIManager and related using JInternalFrame's. |
Uses of PicPoint in jpicedt |
---|
Methods in jpicedt with parameters of type PicPoint | |
---|---|
static void |
JPicEdt.insertFragment(String path,
PicPoint insertionPoint)
Insère un fragment chagé du disque dans la plance active. |
Uses of PicPoint in jpicedt.format.input.latex |
---|
Fields in jpicedt.format.input.latex with type parameters of type PicPoint | |
---|---|
static Pool.Key<PicPoint> |
LaTeXPutExpression.KEY_PUT_POINT
key entry in Pool containing the (x,y) parameter |
Uses of PicPoint in jpicedt.format.input.pstricks |
---|
Fields in jpicedt.format.input.pstricks with type parameters of type PicPoint | |
---|---|
static Pool.Key<PicPoint> |
PsRPutExpression.KEY_RPUT_POINT
key entry in Pool containing the (x,y) parameter |
Uses of PicPoint in jpicedt.format.input.util |
---|
Methods in jpicedt.format.input.util that return PicPoint | |
---|---|
PicPoint |
PicPointExpression.getPicPoint()
Returns the parsed PicPoint |
Uses of PicPoint in jpicedt.format.output.dxf |
---|
Methods in jpicedt.format.output.dxf with parameters of type PicPoint | |
---|---|
void |
DXFFormatter.appendLine(DXFStringBuffer buf,
PicPoint pt1,
PicPoint pt2)
Ajoute à un tampon DXF (marque déposée) buf une définition de segment de droite joingant pt1 à pt2 |
Uses of PicPoint in jpicedt.format.output.eepic |
---|
Methods in jpicedt.format.output.eepic with parameters of type PicPoint | |
---|---|
protected void |
EepicFormatter.appendDashLine(StringBuffer buf,
PicPoint p1,
PicPoint p2,
double dash)
Append a \\dashline with the given points and dash value to the given buffer |
Uses of PicPoint in jpicedt.format.output.latex |
---|
Methods in jpicedt.format.output.latex with parameters of type PicPoint | |
---|---|
StringBuffer |
LatexFormatter.arrowToLatexString(PicPoint loc,
PicPoint dir)
Create a string representation of an arrow in the LaTeX format using \\vector's. |
String |
LatexFormatter.lineToLatexString(PicPoint pt0,
PicPoint pt1,
StyleConstants.ArrowStyle leftArrow,
StyleConstants.ArrowStyle rightArrow,
double dash)
Computes a LaTeX string for a line segment, given its two end-points and decoration parameters. |
Uses of PicPoint in jpicedt.graphic |
---|
Subclasses of PicPoint in jpicedt.graphic | |
---|---|
class |
PicVector
This class encapsulates a geometrical vector (ie it has absolutely no relation with java.util.Vector !). |
Methods in jpicedt.graphic that return PicPoint | |
---|---|
PicPoint |
PicPoint.apply(AffineTransform at)
Apply the given AffineTransform to the coordinates of this point |
PicPoint |
PicPoint.clone()
Creates and returns a deep copy of this PicPoint. |
static PicPoint[] |
PEToolKit.convertCubicBezierToQuad(Point2D p1,
Point2D pCtrl1,
Point2D pCtrl2,
Point2D p2)
Given four specification points of a cubic bezier spline, returns an array of five PicPoint's containing the specification points of two quad bezier splines having the same geometry as the given curve. |
static PicPoint[] |
PEToolKit.convertQuadBezierToCubic(Point2D p1,
Point2D pCtrl,
Point2D p2)
Given the three specification points of a quad bezier spline, returns an array of PicPoint's containing the four specification points of a cubic spline having the same geometry. |
PicPoint |
PageFormat.getOrgPx(double zoom)
Return (x,y) double-precision pixel-coordinates of the (0,0) model origin. |
PicPoint |
PECanvas.getSheetOrigin()
|
PicPoint |
PicPoint.middle(PicPoint other)
Translate this point to the middle of the segment made of [this,other]. |
PicPoint |
PicPoint.mirror(PicPoint ptOrg,
PicVector normalVector)
A le même effet que l'appel à mirror(ptOrg,normalVector,this) , c'est à dire que la
valeur de this est changée par reflexion relativement à
l'axe passant par ptOrg et normal à
normalVector . |
PicPoint |
PicPoint.mirror(PicPoint ptOrg,
PicVector normalVector,
PicPoint ret)
Renvoie l'image par réflection du PicPoint
this relativement à l'axe passant par le point
ptOrg et normal au vecteur normalVector . |
PicPoint |
PECanvas.modelToView(PicPoint src,
PicPoint dst)
Converts a point from the model-coordinate system to the pixel-coordinate system. |
PicPoint |
PicPoint.project(PicPoint p1,
PicPoint p2)
Project this point onto the line joining p1 and p2. |
PicPoint |
PicPoint.project(PicPoint p1,
PicPoint p2,
PicPoint dir)
Project this point onto the line joining p1 and p2. |
PicPoint |
PicPoint.rotate(PicPoint ptOrg,
double angle)
Apply a rotation of center ptOrg and the given angle in radians to this PicPoint Current implementation arranges for a very fast code if angle is PI, PI/2 or -PI/2. |
PicPoint |
PicPoint.scale(double ptOrgX,
double ptOrgY,
double s)
Apply a scaling transform to this point. |
PicPoint |
PicPoint.scale(double ptOrgX,
double ptOrgY,
double sx,
double sy)
Apply a scaling transform to this point. |
PicPoint |
PicPoint.scale(PicPoint ptOrg,
double s)
Apply a scaling transform to this point. |
PicPoint |
PicPoint.scale(PicPoint ptOrg,
double sx,
double sy)
Apply a scaling transform to this point. |
PicPoint |
PicPoint.setCoordinates(double x,
double y)
Set the coordinates of this point from the given pair |
PicPoint |
PicPoint.setCoordinates(PicPoint pt)
Set the coordinates of this point from the given point. |
PicPoint |
PicPoint.shear(PicPoint ptOrg,
double shx,
double shy)
Apply a shearing transform of given parameters wrt to the given origin, to this PicPoint |
PicPoint |
PicPoint.symmetry(PicPoint center)
Apply a central-symmetry wrt the given point |
static PicPoint |
PicPoint.symmetry(PicPoint center,
PicPoint src)
Return a new PicPoint obtained by applying a central-symmetry with the given center to the given src point. |
PicPoint |
PicPoint.toMm(double unitLength)
Convert a PicPoint with coordinates expressed in the given unitlenth (expressed in mm), to a new PicPoint in mm coordinates. |
PicPoint |
PicPoint.toMm(double xUnit,
double yUnit)
Convert a PicPoint with coordinate expressed in the given unitlenths along X- and Y-axis (the latter being expressed in mm) to a new PicPoint in mm coordinate. |
PicPoint |
PicPoint.translate(double dx,
double dy)
translates this point by (dx,dy) |
PicPoint |
PicPoint.translate(PicPoint p)
translates this point by (p.x, p.y), ie the given point is considered as a translation vector. |
PicPoint |
PicPoint.translate(PicPoint p,
double a)
translates this point by a*(p.x, p.y), ie the given point is considered as a translation vector scaled by the given double. |
PicPoint |
PicPoint.translate(PicPoint p1,
PicPoint p2)
translates this point by (p2.x-p1.x, p2.y-p2.y), ie the given point is considered as a translation vector build from the two given points. |
PicPoint |
PicPoint.translate(PicPoint p1,
PicPoint p2,
double a)
translates this point by a*(p2.x-p1.x, p2.y-p2.y), ie the given point is considered as a translation vector build from the two given points, then scaled by the given double. |
PicPoint |
PECanvas.view2Model(PicPoint src,
PicPoint dst)
Converts a point from the pixel-coordinate system to the model-coordinate system. |
Methods in jpicedt.graphic with parameters of type PicPoint | |
---|---|
PicVector |
PicVector.add(PicPoint other)
Add the given vector to this vector, which modifies this, and return this for convenience. |
PicVector |
PicVector.add(PicPoint other,
double a)
Add the given vector scaled by "a" to this vector, which modifies this, and return this for convenience. |
PicVector |
PicVector.cAdd(PicPoint other)
Make the addition the given vector to this vector, without modifying this, and return the result. |
static PicVector |
PEToolKit.computeTangentToPath(Shape s,
PicPoint pt,
double maxDist)
Returns the tangent to the given path, computed at the path-point which is closest to the given point "pt" than the given maximum distance Return null otherwise (ie if pt is too far from the given shape). |
PicVector |
PicVector.cSub(PicPoint other)
Make the subtraction the given vector from this vector, without modifying this, and return the result. |
double |
PicVector.dot(PicPoint other)
Return the dot product of this vector with the given vector other |
protected void |
PECanvas.fireZoomUpdate(double oldZoom,
double newZoom,
PicPoint ptClick)
Notify all listeners that have registered interest for notification on this event type. |
static PicVector |
PicVector.getDirector(PicPoint startPt,
PicPoint endPt)
Return a unitary vector pointing from startPt to endPt |
static PicVector |
PicVector.getDirector(PicPoint startPt,
PicPoint endPt,
PicVector dest)
Return a unitary vector pointing from startPt to endPt ; if dest is non-null, it's filled with the result and returned for convenience ; otherwise, a new PicPoint gets allocated. |
static PicVector |
PicVector.getOrthogonal(PicPoint startPt,
PicPoint endPt)
Return a UNITARY vector orthogonal to the vector pointing from startPt to endPt and built by rotating this vector CCW. |
void |
PECanvas.insert(Reader reader,
ExtractionParsing parser,
PicPoint insertionPoint)
Insère du contenu depuis un reader dans le dessin courant. |
PicPoint |
PicPoint.middle(PicPoint other)
Translate this point to the middle of the segment made of [this,other]. |
PicPoint |
PicPoint.mirror(PicPoint ptOrg,
PicVector normalVector)
A le même effet que l'appel à mirror(ptOrg,normalVector,this) , c'est à dire que la
valeur de this est changée par reflexion relativement à
l'axe passant par ptOrg et normal à
normalVector . |
PicPoint |
PicPoint.mirror(PicPoint ptOrg,
PicVector normalVector,
PicPoint ret)
Renvoie l'image par réflection du PicPoint
this relativement à l'axe passant par le point
ptOrg et normal au vecteur normalVector . |
PicPoint |
PECanvas.modelToView(PicPoint src,
PicPoint dst)
Converts a point from the model-coordinate system to the pixel-coordinate system. |
void |
PECanvas.paste(Clipboard clipbrd,
PicPoint translate)
Ajout le contenu du presse-papier ( ClipBoard ) passé en argument au dessin courant, et le
sélectionner ensuite. |
PicPoint |
PicPoint.project(PicPoint p1,
PicPoint p2)
Project this point onto the line joining p1 and p2. |
PicPoint |
PicPoint.project(PicPoint p1,
PicPoint p2,
PicPoint dir)
Project this point onto the line joining p1 and p2. |
PicPoint |
PicPoint.rotate(PicPoint ptOrg,
double angle)
Apply a rotation of center ptOrg and the given angle in radians to this PicPoint Current implementation arranges for a very fast code if angle is PI, PI/2 or -PI/2. |
PicPoint |
PicPoint.scale(PicPoint ptOrg,
double s)
Apply a scaling transform to this point. |
PicPoint |
PicPoint.scale(PicPoint ptOrg,
double sx,
double sy)
Apply a scaling transform to this point. |
PicPoint |
PicPoint.setCoordinates(PicPoint pt)
Set the coordinates of this point from the given point. |
void |
PECanvas.setZoomFactor(double zoom,
PicPoint ptClick)
Sets the current zoom factor to the given double, then updates various properties (model ↔ view transforms, dimension, preferredSize…), finally, sources a ZoomEvent to give a chance to receiver to update their state accordingly (this may be used e.g. by a parent scrollpane to update its view port location, or by a GUI widget to reflect the new zoom value). |
PicPoint |
PicPoint.shear(PicPoint ptOrg,
double shx,
double shy)
Apply a shearing transform of given parameters wrt to the given origin, to this PicPoint |
PicVector |
PicVector.subtract(PicPoint other)
Subtract the given vector from this vector, which modifies this, and return this for convenience. |
PicPoint |
PicPoint.symmetry(PicPoint center)
Apply a central-symmetry wrt the given point |
static PicPoint |
PicPoint.symmetry(PicPoint center,
PicPoint src)
Return a new PicPoint obtained by applying a central-symmetry with the given center to the given src point. |
static int |
PEToolKit.testDistanceToPath(Shape s,
PicPoint pt,
double maxDist)
Return a positive integer if the given point "pt" lies closer to the given shape path (= stroke) than the given maximum distance ; this integer indicates which segment/quad/cubic of the path, starting from 0 (ie according to getPathIterator numbering scheme), lies at the closest distance from "pt" ; -1 otherwise. |
PicPoint |
PicPoint.translate(PicPoint p)
translates this point by (p.x, p.y), ie the given point is considered as a translation vector. |
PicPoint |
PicPoint.translate(PicPoint p,
double a)
translates this point by a*(p.x, p.y), ie the given point is considered as a translation vector scaled by the given double. |
PicPoint |
PicPoint.translate(PicPoint p1,
PicPoint p2)
translates this point by (p2.x-p1.x, p2.y-p2.y), ie the given point is considered as a translation vector build from the two given points. |
PicPoint |
PicPoint.translate(PicPoint p1,
PicPoint p2,
double a)
translates this point by a*(p2.x-p1.x, p2.y-p2.y), ie the given point is considered as a translation vector build from the two given points, then scaled by the given double. |
PicPoint |
PECanvas.view2Model(PicPoint src,
PicPoint dst)
Converts a point from the pixel-coordinate system to the model-coordinate system. |
Uses of PicPoint in jpicedt.graphic.event |
---|
Methods in jpicedt.graphic.event that return PicPoint | |
---|---|
PicPoint |
ZoomEvent.getCenterPoint()
Return the coordinates of the point that was at the center of the canvas before the zoom changed. |
PicPoint |
PEMouseEvent.getPicPoint()
|
Constructors in jpicedt.graphic.event with parameters of type PicPoint | |
---|---|
PEMouseEvent(MouseEvent awtEvent,
PECanvas source,
PicPoint pt)
|
|
ZoomEvent(PECanvas source,
double oldZoom,
double newZoom,
PicPoint ptCenter)
a new ZoomEvent sourced from the given PECanvas |
Uses of PicPoint in jpicedt.graphic.grid |
---|
Methods in jpicedt.graphic.grid that return PicPoint | |
---|---|
PicPoint |
Grid.nearestNeighbour(PicPoint srcPt,
PicPoint dstPt)
Compute the nearest-neighbour of the given srcPt point on this grid, using the current snap-step value, and store the result in dstPt. |
Methods in jpicedt.graphic.grid with parameters of type PicPoint | |
---|---|
PicPoint |
Grid.nearestNeighbour(PicPoint srcPt,
PicPoint dstPt)
Compute the nearest-neighbour of the given srcPt point on this grid, using the current snap-step value, and store the result in dstPt. |
Uses of PicPoint in jpicedt.graphic.io.formatter |
---|
Methods in jpicedt.graphic.io.formatter with parameters of type PicPoint | |
---|---|
protected void |
XmlAttributeSet.putNameValuePair(String name,
PicPoint pt)
Given attribute name and value, append a name/value entry to the given map |
protected void |
XmlAttributeSet.putNameValuePair(String name,
PicPoint[] values)
Given attribute name and an array of PicPoint's, append a name/value entry to the given map. |
Uses of PicPoint in jpicedt.graphic.model |
---|
Fields in jpicedt.graphic.model declared as PicPoint | |
---|---|
protected PicPoint |
PicCircleFrom3Points.circlePt1
The first point (out of three) this circle goes through, aka circle's specification point. |
protected PicPoint |
PicCircleFrom3Points.circlePt2
second spec-point, same as circlePt1 |
protected PicPoint |
PicCircleFrom3Points.circlePt3
second spec-point, same as circlePt1 |
protected PicPoint |
TextEditable.ptAnchor
anchor point |
protected PicPoint |
PicParallelogram.ptBL
Bottom-Left corner (specification point) |
protected PicPoint |
PicParallelogram.ptBR
Bottom-Right corner (specification point) |
protected PicPoint |
PicParallelogram.ptTR
Top-Right corner (specification point) |
Fields in jpicedt.graphic.model with type parameters of type PicPoint | |
---|---|
protected ArrayList<PicPoint> |
AbstractCurve.bezierPts
list of specification points |
protected ArrayList<PicPoint> |
PicSmoothPolygon.polygonPts
An array of PicPoint 's backing the geometry of the polygon. |
protected ArrayList<PicPoint> |
PicPsCurve.polygonPts
An array of PicPoint 's backing the geometry of the polygon. |
Methods in jpicedt.graphic.model that return PicPoint | |
---|---|
protected PicPoint |
AbstractCurve.getBezierPt(int index)
Returns a reference on the Bezier point with the given index. |
PicPoint |
AbstractCurve.getBezierPt(int index,
PicPoint dest)
If the curve is closed, any index is a valid index thx to the use of Periodic Boundary Conditions. |
PicPoint |
PicParallelogram.getCenter(PicPoint src)
Return the parallelogram's centre |
PicPoint |
TextEditable.getCtrlPt(int numPoint,
PicPoint dest)
|
PicPoint |
PicSmoothPolygon.getCtrlPt(int numPoint,
PicPoint dest)
Return the user-controlled point (ie a polygon point, not a bezier point) having the given index. |
PicPoint |
PicPsCurve.getCtrlPt(int numPoint,
PicPoint dest)
Return a copy of the user-controlled point (ie a polygon point, not a bezier point) having the given index. |
PicPoint |
PicParallelogram.getCtrlPt(int numPoint,
PicPoint src)
Return the user-controlled point having the given index. |
PicPoint |
PicNodeConnection.getCtrlPt(int index,
PicPoint src)
|
PicPoint |
PicMultiCurve.getCtrlPt(int numPoint,
PicPoint dest)
Return a copy of the user-controlled point having the given index. |
PicPoint |
PicEllipse.getCtrlPt(int numPoint,
PicPoint src)
Return the user-controlled point having the given index. |
PicPoint |
PicCircleFrom3Points.getCtrlPt(int numPoint,
PicPoint src)
Get the coordinate of the control point indexed by "numPoint". |
PicPoint |
Element.getCtrlPt(int index,
PicPoint dest)
Return the user-controlled point having the given index. |
PicPoint |
Drawing.RootElement.getCtrlPt(int numPoint,
PicPoint src)
return null |
PicPoint |
BranchElement.getCtrlPt(int numPoint,
PicPoint dest)
Return the user-controlled point having the given index. |
PicPoint |
PicNodeConnection.getEndPointA(PicPoint pt)
Returns the coordinates of the edge's end-point at node A |
PicPoint |
PicNodeConnection.getEndPointB(PicPoint pt)
Returns the coordinates of the edge's end-point at node B |
PicPoint[] |
PicPsCurve.getFinalControlCurve()
Return the 4 Bezier points of the final prolongation of the PicPsCurve . |
PicPoint |
AbstractCurve.CurveToSegment.getFromCtrlPt()
|
PicPoint |
AbstractCurve.LineToSegment.getFromPt()
|
PicPoint |
AbstractCurve.CurveToSegment.getFromPt()
|
PicPoint[] |
PicPsCurve.getInitialControlCurve()
Returns the 4 Bezier points of the initial prolongation of the PicPsCurve . |
protected PicPoint |
PicSmoothPolygon.getPolygonPt(int numPoint)
Return a reference to the polygon point with the given index. |
protected PicPoint |
PicPsCurve.getPolygonPt(int numPoint)
Return a reference to the polygon point with the given index. |
PicPoint |
AbstractCurve.CurveToSegment.getToCtrlPt()
|
PicPoint |
AbstractCurve.LineToSegment.getToPt()
|
PicPoint |
AbstractCurve.CurveToSegment.getToPt()
|
PicPoint |
PicText.TextNodeConnectionManager.nodeConnectionOrigin(double dx,
double dy)
|
PicPoint |
NodeConnectionManager.nodeConnectionOrigin(double dx,
double dy)
|
PicPoint |
PicText.TextNodeConnectionManager.nodeReferencePoint()
|
PicPoint |
NodeConnectionManager.nodeReferencePoint()
|
Methods in jpicedt.graphic.model with parameters of type PicPoint | |
---|---|
void |
PicSmoothPolygon.addPoint(int ptIndex,
PicPoint pt)
Add the given polygon point at the given position, shifting ensuing point indices to the right. |
void |
PicPsCurve.addPoint(int ptIndex,
PicPoint pt)
Inserts the specified point at the specified index. |
void |
PicSmoothPolygon.addPoint(int ptIndex,
PicPoint pt,
double smoothCoeff)
Add the given polygon point at the given position, shifting ensuing point indices to the right. |
void |
PicSmoothPolygon.addPoint(PicPoint pt)
Add the given point at the end of this PicSmoothPolygon . |
void |
PicPsCurve.addPoint(PicPoint pt)
adds the given point at the end of this pscurve. |
void |
PicMultiCurve.addPoint(PicPoint pt)
Adds a new subdivision point to the end of this curve. |
abstract void |
AbstractCurve.addPoint(PicPoint pt)
Adds the given point to the end of this curve. |
void |
PicSmoothPolygon.addPoint(PicPoint pt,
double smoothCoeff)
Add the given point with the given smoothness-coefficient at the end of this PicSmoothPolygon . |
void |
PicMultiCurve.curveTo(PicPoint ptCtrl1,
PicPoint ptCtrl2,
PicPoint ptEnd)
If this curve if OPEN and NON-EMPTY, adds the given points (2 control points and an endpoint) to the end of the curve, then fire a GEOMETRY_CHANGE event. |
void |
AbstractCurve.curveTo(PicPoint ptCtrl1,
PicPoint ptCtrl2,
PicPoint ptEnd)
If this curve if OPEN and NON-EMPTY, adds the given points (2 control points and an endpoint) to the end of the curve. |
void |
AbstractCurve.diff1CurveTo(PicVector dP0,
PicVector dP1,
PicPoint p1)
Utilisable pour approcher une courbe paramétrée P(t) par la chaîne de courbe de Bézier this lorqu'on dispose des dérivées d'ordre 1 de P(t). |
void |
AbstractCurve.diff2CurveTo(PicVector d2P0,
PicVector d2P1,
PicVector dP0,
PicVector dP1,
PicPoint p1)
Utilisable pour approcher une courbe paramétrée P(t) par la chaîne de courbe de Bézier this lorqu'on dispose des dérivées d'ordre 1 et 2 de P(t). |
PicPoint |
AbstractCurve.getBezierPt(int index,
PicPoint dest)
If the curve is closed, any index is a valid index thx to the use of Periodic Boundary Conditions. |
PicPoint |
PicParallelogram.getCenter(PicPoint src)
Return the parallelogram's centre |
PicPoint |
TextEditable.getCtrlPt(int numPoint,
PicPoint dest)
|
PicPoint |
PicSmoothPolygon.getCtrlPt(int numPoint,
PicPoint dest)
Return the user-controlled point (ie a polygon point, not a bezier point) having the given index. |
PicPoint |
PicPsCurve.getCtrlPt(int numPoint,
PicPoint dest)
Return a copy of the user-controlled point (ie a polygon point, not a bezier point) having the given index. |
PicPoint |
PicParallelogram.getCtrlPt(int numPoint,
PicPoint src)
Return the user-controlled point having the given index. |
PicPoint |
PicNodeConnection.getCtrlPt(int index,
PicPoint src)
|
PicPoint |
PicMultiCurve.getCtrlPt(int numPoint,
PicPoint dest)
Return a copy of the user-controlled point having the given index. |
PicPoint |
PicEllipse.getCtrlPt(int numPoint,
PicPoint src)
Return the user-controlled point having the given index. |
PicPoint |
PicCircleFrom3Points.getCtrlPt(int numPoint,
PicPoint src)
Get the coordinate of the control point indexed by "numPoint". |
PicPoint |
Element.getCtrlPt(int index,
PicPoint dest)
Return the user-controlled point having the given index. |
PicPoint |
Drawing.RootElement.getCtrlPt(int numPoint,
PicPoint src)
return null |
PicPoint |
BranchElement.getCtrlPt(int numPoint,
PicPoint dest)
Return the user-controlled point having the given index. |
PicPoint |
PicNodeConnection.getEndPointA(PicPoint pt)
Returns the coordinates of the edge's end-point at node A |
PicPoint |
PicNodeConnection.getEndPointB(PicPoint pt)
Returns the coordinates of the edge's end-point at node B |
void |
AbstractCurve.lineTo(PicPoint pt)
Adds a STRAIGHT segment to the end of this curve, i.e. control-points and subdivision-points are identical at each segment's end. |
void |
PicText.mirror(PicPoint ptOrg,
PicVector normalVector)
Effectue une réflexion sur this relativement à l'axe
défini par ptOrg et normalVector . |
void |
PicSmoothPolygon.mirror(PicPoint ptOrg,
PicVector normalVector)
Effectue une réflexion sur this relativement à l'axe
défini par ptOrg et normalVector . |
void |
PicPsCurve.mirror(PicPoint ptOrg,
PicVector normalVector)
Effectue une réflexion sur this relativement à l'axe
défini par ptOrg et normalVector . |
void |
PicParallelogram.mirror(PicPoint ptOrg,
PicVector normalVector)
Effectue une réflexion sur this relativement à l'axe
défini par ptOrg et normalVector . |
void |
PicNodeConnection.mirror(PicPoint ptOrg,
PicVector normalVector)
Effectue une réflexion sur this relativement à l'axe
défini par ptOrg et normalVector . |
void |
PicMultiCurve.mirror(PicPoint ptOrg,
PicVector normalVector)
Effectue une réflexion sur this relativement à l'axe
défini par ptOrg et normalVector . |
void |
PicEllipse.mirror(PicPoint ptOrg,
PicVector normalVector)
Effectue une réflexion sur this relativement à l'axe
défini par ptOrg et normalVector . |
void |
PicCircleFrom3Points.mirror(PicPoint ptOrg,
PicVector normalVector)
Effectue une réflexion sur this relativement à l'axe
défini par ptOrg et normalVector . |
void |
Element.mirror(PicPoint ptOrg,
PicVector normalVector)
Effectue une réflexion de l'objet this relativement à la
droite passant par le point ptOrg et normale au vecteur
normalVector . |
void |
Drawing.BoundingBox.mirror(PicPoint ptOrg,
PicVector normalVector)
|
void |
BranchElement.mirror(PicPoint ptOrg,
PicVector normalVector)
Effectue une reflection sur le PicGroup . |
void |
AbstractCurve.mirror(PicPoint ptOrg,
PicVector normalVector)
Effectue une réflexion sur this relativement à l'axe
défini par ptOrg et normalVector . |
void |
PicText.rotate(PicPoint ptOrg,
double angle)
Rotate this Element by the given angle along the given point |
void |
PicSmoothPolygon.rotate(PicPoint ptOrg,
double angle)
Rotate this Element by the given angle along the given point |
void |
PicPsCurve.rotate(PicPoint ptOrg,
double angle)
Rotate this Element by the given angle along the given point |
void |
PicParallelogram.rotate(PicPoint ptOrg,
double angle)
Rotate this Element by the given angle along the given point |
void |
PicNodeConnection.rotate(PicPoint ptOrg,
double angle)
Rotate this Element by the given angle along the given point |
void |
PicMultiCurve.rotate(PicPoint ptOrg,
double angle)
Rotate this Element by the given angle along the given point |
void |
PicEllipse.rotate(PicPoint ptOrg,
double angle)
Rotate this Element by the given angle along the given point. |
void |
PicCircleFrom3Points.rotate(PicPoint ptOrg,
double angle)
Rotate this Element by the given angle along the given point |
void |
Element.rotate(PicPoint ptOrg,
double angle)
Rotate this Element by the given angle along the given point |
void |
Drawing.BoundingBox.rotate(PicPoint ptOrg,
double angle)
|
void |
BranchElement.rotate(PicPoint ptOrg,
double angle)
Rotate this Element by the given angle along the given point |
void |
AbstractCurve.rotate(PicPoint ptOrg,
double angle)
Rotate this Element by the given angle along the given point This method does not fire any change event. |
void |
Element.scale(PicPoint ptOrg,
double sx,
double sy)
Scale this object by (sx,sy) using ptOrg as origin
sx and sy may be negative. |
void |
AbstractElement.scale(PicPoint ptOrg,
double sx,
double sy)
Dilate cet élément par (sx,sy) en utilisant ptOrg comme origine ;
sx ou sy peuvent être négatifs. |
void |
Element.scale(PicPoint ptOrg,
double sx,
double sy,
UserConfirmationCache ucc)
|
void |
AbstractElement.scale(PicPoint ptOrg,
double sx,
double sy,
UserConfirmationCache ucc)
Dilate cet élément par (sx,sy) en utilisant ptOrg comme origine ;
sx ou sy peuvent être négatifs. |
protected void |
AbstractCurve.setBezierPt(int index,
PicPoint pt)
Set the coordinates of the Bezier point with the given index |
void |
PicParallelogram.setCtrlPt(int index,
PicPoint pt)
Convenience call to setCtrlPt(int, PicPoint, EditPointConstraint) with a null constraint. |
void |
PicNodeConnection.setCtrlPt(int index,
PicPoint pt)
|
void |
Element.setCtrlPt(int index,
PicPoint pt)
Set the user-controlled point indexed by "index" to the given value. |
void |
BranchElement.setCtrlPt(int index,
PicPoint pt)
Deprecated. use setCtrlPt(int, PicPoint, EditPointConstraint) instead. |
void |
AbstractElement.setCtrlPt(int index,
PicPoint pt)
convenience call to setCtrlPt(int, PicPoint, null) |
void |
PicText.setCtrlPt(int index,
PicPoint pt,
EditPointConstraint constraint)
|
void |
PicSmoothPolygon.setCtrlPt(int index,
PicPoint pt,
EditPointConstraint constraint)
Set the user-controlled point with the given index to the given value. |
void |
PicPsCurve.setCtrlPt(int index,
PicPoint pt,
EditPointConstraint constraint)
Set the user-controlled point with the given index to the given value. |
void |
PicParallelogram.setCtrlPt(int numPoint,
PicPoint pt,
EditPointConstraint constraint)
Set the coordinate of the control-point indexed by "numPoint" to the given value. |
void |
PicNodeConnection.setCtrlPt(int index,
PicPoint pt,
EditPointConstraint constraint)
|
void |
PicMultiCurve.setCtrlPt(int index,
PicPoint pt,
EditPointConstraint constraint)
Set the coordinates of a Bezier point having the given index to the given location, possibly moving other control-points according to the given constraint. |
void |
PicGroup.setCtrlPt(int numPoint,
PicPoint ptNew,
EditPointConstraint constraint)
Set the point numbered by numPoint to the pt value, and scales inward object
accordingly. |
void |
PicEllipse.setCtrlPt(int numPoint,
PicPoint pt,
EditPointConstraint constraint)
Set the coordinate of the point indexed by "numPoint" to the given value. |
void |
PicCircleFrom3Points.setCtrlPt(int numPoint,
PicPoint pt,
EditPointConstraint c)
Set the coordinate of the point indexed by "numPoint" to the given value. |
void |
Element.setCtrlPt(int index,
PicPoint pt,
EditPointConstraint constraint)
Set the user-controlled point indexed by "index" to the given value, using the specified geometrical constraint. |
void |
Drawing.RootElement.setCtrlPt(int numPoint,
PicPoint src,
EditPointConstraint c)
does nothing |
void |
Drawing.BoundingBox.setCtrlPt(int numPoint,
PicPoint pt,
EditPointConstraint constraint)
|
void |
BranchElement.setCtrlPt(int numPoint,
PicPoint pt,
EditPointConstraint c)
Set the point indexed by "numPoint" to the given value using the given constraint. |
void |
AbstractCurve.setCtrlPt(int index,
PicPoint pt,
EditPointConstraint c)
Set the coordinates of the Bezier point with the given index to the given location, but doesn't fire any DrawingEvent. |
void |
PicMultiCurve.shear(PicPoint ptOrg,
double shx,
double shy)
Shear this Element by the given params wrt to the given origin |
void |
Element.shear(PicPoint ptOrg,
double shx,
double shy)
Shear this Element by the given params wrt to the given origin |
void |
Drawing.BoundingBox.shear(PicPoint ptOrg,
double shx,
double shy)
|
void |
BranchElement.shear(PicPoint ptOrg,
double shx,
double shy)
|
void |
AbstractElement.shear(PicPoint ptOrg,
double shx,
double shy)
Cisaille cet élément par (shx,shy) en utilisant ptOrg comme origine. |
void |
PicText.shear(PicPoint ptOrg,
double shx,
double shy,
UserConfirmationCache ucc)
Shear this Element by the given params wrt to the given origin |
void |
PicSmoothPolygon.shear(PicPoint ptOrg,
double shx,
double shy,
UserConfirmationCache ucc)
Shear this Element by the given params wrt to the given origin |
void |
PicPsCurve.shear(PicPoint ptOrg,
double shx,
double shy,
UserConfirmationCache ucc)
Shear this Element by the given params wrt to the given origin |
void |
PicParallelogram.shear(PicPoint ptOrg,
double shx,
double shy,
UserConfirmationCache ucc)
Shear this Element by the given params wrt to the given origin. |
void |
PicNodeConnection.shear(PicPoint ptOrg,
double shx,
double shy,
UserConfirmationCache ucc)
Shear this Element by the given params wrt to the given origin |
void |
PicEllipse.shear(PicPoint ptOrg,
double shx,
double shy,
UserConfirmationCache ucc)
Shear this Element by the given params wrt to the given origin. |
void |
PicCircleFrom3Points.shear(PicPoint ptOrg,
double shx,
double shy,
UserConfirmationCache ucc)
Shear this Element by the given params wrt to the given origin |
void |
Element.shear(PicPoint ptOrg,
double shx,
double shy,
UserConfirmationCache ucc)
Pareil que Element.shear(PicPoint ptOrg, double shx, double shy) sauf que dans le cas
d'une dilatation non conforme — c'est à dire ne conservant pas les proportions —,
et d'une forme supposée à proportions contraintes (comme par exemple PicCircleFrom3Points )
on demande, sauf préférences utilisateurs contraires, son avis à l'utilisateur. |
void |
BranchElement.shear(PicPoint ptOrg,
double shx,
double shy,
UserConfirmationCache ucc)
Shear this Element by the given params wrt to the given origin. |
void |
AbstractCurve.shear(PicPoint ptOrg,
double shx,
double shy,
UserConfirmationCache ucc)
Shear this Element by the given params wrt to the given origin
This method does not fire any change event. |
int |
PicSmoothPolygon.splitSegment(int segIdx,
PicPoint pt)
Split the given polygon segment (starting from 0), by inserting a new polygon point at the appropriate position. |
int |
PicPsCurve.splitSegment(int segIdx,
PicPoint pt)
Split the given polygon segment (starting from 0), by inserting a new polygon point at the appropriate position. |
int |
PicMultiCurve.splitSegment(int seg_idx,
PicPoint pt)
Adds a new point to a (maybe curved) segment then fires a changed-update. |
abstract int |
AbstractCurve.splitSegment(int index,
PicPoint pt)
Split the segment having the given index. |
int |
PicSmoothPolygon.splitSegment(int segIdx,
PicPoint pt,
double smoothCoeff)
Split the given polygon segment (starting from 0), by inserting a new polygon point at the appropriate position. |
int |
AbstractCurve.splitSegment(int seg,
PicPoint ptleft,
PicPoint pt,
PicPoint ptright)
Split a segment (either straight or curved) at a given point using two additionnal control points given as parameters. |
protected PicVector |
PicParallelogram.toParalleloBasisCoordinates(PicPoint ptOrg,
PicPoint ptSrc,
PicVector ptDest)
Compute the contravariant coordinate of the given point "ptSrc" along the "l2r" and "b2t" vectors of the parallelogram's basis, the origin of the basis being set at "ptOrg" This simply reduces to a contravariant change of coordinates from the cartesian basis to the (non-orthonormalized) parallelogram basis. |
Constructors in jpicedt.graphic.model with parameters of type PicPoint | |
---|---|
AbstractCurve.CurveToSegment(PicPoint from,
PicVector fromTangent,
PicVector toTangent,
PicPoint to)
|
|
AbstractCurve.LineToSegment(PicPoint from,
PicPoint to)
|
|
PicCircleFrom3Points(PicPoint pt1,
PicPoint pt2,
PicPoint pt3,
boolean plain,
int closure,
PicAttributeSet set)
Create a new arc or circle whose geometry is specified by the 3 given points, and with the given attribute set. |
|
PicCircleFrom3Points(PicPoint pt1,
PicPoint pt2,
PicPoint pt3,
PicAttributeSet set)
Create a new circle whose geometry is specificed by the the 3 given points, and with the given attribute set. |
|
PicEllipse(PicPoint p1,
PicPoint p2,
PicPoint p3,
int closure)
Create a new PicEllipse object using the 3 given points as 3 consecutive points of the
surrounding parallelogram, and a default attribute set. |
|
PicEllipse(PicPoint p1,
PicPoint p2,
PicPoint p3,
int closure,
PicAttributeSet set)
Create a new PicEllipse object using the 3 given points as 3 consecutive points of the
surrounding parallelogram, and the given attribute set. |
|
PicMultiCurve(PicPoint pt1)
Create a new open multi curve reduced to the given point, and a default attribute set. |
|
PicMultiCurve(PicPoint[] bezierPts,
PicAttributeSet set)
Create a new multi-curve filled with the given array of PicPoint's, each segment being a curved Bezier segment. |
|
PicMultiCurve(PicPoint pt1,
PicAttributeSet set)
Create a new open multi curve reduced to the given point, and the given attribute set |
|
PicMultiCurve(PicPoint pt1,
PicPoint pt2)
Create a new line, i.e. a new straight open curve using the two given points, and a default attribute set. |
|
PicMultiCurve(PicPoint pt1,
PicPoint pt2,
PicAttributeSet set)
Create a new straight open multi curve with the two given points, and the given attribute set. |
|
PicMultiCurve(PicPoint pt1,
PicPoint ctrl1,
PicPoint ctrl2,
PicPoint pt2)
Create an open single cubic bezier curve from the four given points, and a default attribute set. |
|
PicParallelogram(PicPoint pt,
PicAttributeSet set)
Create a new PicParallelogram reduced to a point located at the given position |
|
PicParallelogram(PicPoint ptBL,
PicPoint ptTR)
Create a new rectangle with axes parallel to X- and Y-axes, using the 2 given points to build the diagonal, and a default attribute set. |
|
PicParallelogram(PicPoint ptBL,
PicPoint ptBR,
PicPoint ptTR)
Create a new PicParallelogram object using the 3 given points as 3 consecutive specification points of the parallelogram (namely BL, BR and TR) and a default attribute set. |
|
PicParallelogram(PicPoint ptBL,
PicPoint ptBR,
PicPoint ptTR,
PicAttributeSet set)
Create a new PicParallelogram object using the 3 given points as 3 consecutive points of the parallelogram. |
|
PicPsCurve(PicPoint[] polyPts,
boolean closed,
double a,
double b,
double c,
PicAttributeSet set)
Create a new pscurve initialized from the given array of PicPoint's. |
|
PicPsCurve(PicPoint[] polygonPts,
boolean closed,
PicAttributeSet set)
Create a new pscurve initialized from the given array of PicPoint's, using the default curvature values. |
|
PicSmoothPolygon(PicPoint[] polygonPts,
boolean closed,
double[] smoothCoeffs,
PicAttributeSet set)
Create a new smooth polygon initialized from the given array of PicPoint's, using the given array of smoothness values. |
|
PicSmoothPolygon(PicPoint[] polyPts,
boolean closed,
double smoothCoeff,
PicAttributeSet set)
Create a new smooth polygon initialized from the given array of PicPoint's. |
|
PicSmoothPolygon(PicPoint[] polygonPts,
boolean closed,
PicAttributeSet set)
Create a new smooth polygon initialized from the given array of PicPoint's, using the default smoothness value. |
|
PicText(PicPoint ptA,
PicAttributeSet set)
Creates a PicText object with the following default values : empty string, frame and alignment according to the attribute set |
|
PicText(PicPoint ptA,
String textString,
PicAttributeSet set)
Create a new PicText object with the whole bunch of parameters ! |
|
TextEditable(String textString,
PicPoint anchorPoint)
Construct a new TextEditable with the given content and a default attribute set |
|
TextEditable(String textString,
PicPoint anchorPoint,
PicAttributeSet set)
Construct a new TextEditable with the given content and attribute set |
Uses of PicPoint in jpicedt.graphic.toolkit |
---|
Methods in jpicedt.graphic.toolkit with parameters of type PicPoint | |
---|---|
boolean |
ConvexZoneGroup.containsPoint(PicPoint pt)
|
boolean |
ConvexZone.containsPoint(PicPoint pt)
|
void |
ConvexZone.rotate(PicPoint org,
double angle)
|
void |
ConvexZone.scale(PicPoint pt,
double dx,
double dy)
|
void |
RotateTool.setRotationCenter(PicPoint pt)
Définit le centre de rotation. |
void |
ConvexZone.shear(PicPoint pt,
double shx,
double shy)
|
Constructors in jpicedt.graphic.toolkit with parameters of type PicPoint | |
---|---|
EditConvexZoneMouseTransformFactory.MoveConvexZoneTransform(ConvexZoneGroup target,
int anchorChildIndex,
PicPoint clickPt,
Grid grid)
|
|
EditConvexZoneMouseTransformFactory.MoveConvexZoneTransform(ConvexZoneGroup target,
PicPoint clickPt,
Grid grid)
|
|
EditElementMouseTransformFactory._MoveElementTransform(BranchElement target,
int anchorChildIndex,
PicPoint clickPt,
Grid grid)
|
|
EditElementMouseTransformFactory._MoveElementTransform(Element target,
PicPoint clickPt,
Grid grid)
|
|
EditElementMouseTransformFactory.MoveElementTransform(BranchElement target,
int anchorChildIndex,
PicPoint clickPt,
Grid grid)
|
|
EditElementMouseTransformFactory.MoveElementTransform(Element target,
PicPoint clickPt,
Grid grid)
|
Uses of PicPoint in jpicedt.graphic.util |
---|
Fields in jpicedt.graphic.util with type parameters of type PicPoint | |
---|---|
LinkedList<PicPoint> |
ConvexPolygonalZoneBoundary.subdivisionPoints
|
Methods in jpicedt.graphic.util that return PicPoint | |
---|---|
PicPoint |
ConvexPolygonalZone.HalfPlane.getOrg()
|
Methods in jpicedt.graphic.util with parameters of type PicPoint | |
---|---|
void |
ConvexPolygonalZone.addHalfPlane(PicPoint org,
PicVector normalDir)
ajoute un demi-plan passant par org, normal à normalDir, et du côté pointé par par normalDir. |
boolean |
ConvexPolygonalZone.contains(PicPoint pt)
|
boolean |
ConvexPolygonalZone.HalfPlane.contains(PicPoint pt)
|
void |
ConvexPolygonalZone.extendByConvexHull(PicPoint[] points,
int pointCount)
Étend la zone polygonal convexe this de sorte qu'elle soit l'enveloppe convexe de sa
valeur actuelle et de l'ensemble de point points . |
static PicVector |
LinearAlgebra.invLinearApplication(double[][] matrix,
PicPoint x)
Calcul l'image de x par une application linéaire définie
par l'inverse matrix . |
static PicVector |
LinearAlgebra.linearApplication(double[][] matrix,
PicPoint x)
Fait le produit d'une matrice 2×2 matrix et d'un vecteur x . |
Uses of PicPoint in jpicedt.graphic.view |
---|
Methods in jpicedt.graphic.view with parameters of type PicPoint | |
---|---|
void |
ArrowView.paint(Graphics2D g,
PicPoint loc,
PicVector dir)
Updates then paints this arrow. |
void |
ArrowView.updateShape(PicPoint loc,
PicVector dir)
To be called when the geometry of the hosting Element changed. |
Uses of PicPoint in jpicedt.graphic.view.highlighter |
---|
Fields in jpicedt.graphic.view.highlighter declared as PicPoint | |
---|---|
protected PicPoint |
DefaultHighlighter.ptBuffer
buffer used by paint only ; may be safely used by subclasses as well |
Uses of PicPoint in jpicedt.ui |
---|
Methods in jpicedt.ui with parameters of type PicPoint | |
---|---|
void |
PEDrawingBoard.insert(String path,
ExtractionParsing parser,
PicPoint insertionPoint)
Insert new content from the given path into this board's drawing author: Sylvain Reynal |
void |
PEDrawingBoard.StatusBar.showCoord(PicPoint pt)
Displays current mouse coordinates |
Uses of PicPoint in jpicedt.ui.dialog |
---|
Fields in jpicedt.ui.dialog declared as PicPoint | |
---|---|
PicPoint |
RotateCenterChooser.RotateCenterChoice.pt
|
Uses of PicPoint in jpicedt.ui.internal |
---|
Methods in jpicedt.ui.internal that return PicPoint | |
---|---|
PicPoint |
PEPopupMenuFactory.PopupMenu.getPicPoint()
|
|
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |