Class PlaneSurface
A planar infinite surface. Implements ISurface.
The plane is defined by two vectors which are not necessary perpendicular or normalized.
Inheritance
System.Object
PlaneSurface
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.Serialization.IDeserializationCallback
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: CADability.dll
Syntax
[Serializable]
public class PlaneSurface : ISurfaceImpl, ISurface, IOctTreeInsertable, ISerializable, IDeserializationCallback, IExportStep
Constructors
|
Improve this Doc
View Source
PlaneSurface(GeoPoint, GeoVector, GeoVector)
Declaration
public PlaneSurface(GeoPoint location, GeoVector uDirection, GeoVector vDirection)
Parameters
|
Improve this Doc
View Source
PlaneSurface(GeoPoint, GeoVector, GeoVector, GeoVector)
Declaration
public PlaneSurface(GeoPoint location, GeoVector uDirection, GeoVector vDirection, GeoVector zDirection)
Parameters
|
Improve this Doc
View Source
PlaneSurface(Plane)
Declaration
public PlaneSurface(Plane plane)
Parameters
| Type |
Name |
Description |
| Plane |
plane |
|
|
Improve this Doc
View Source
PlaneSurface(SerializationInfo, StreamingContext)
Declaration
protected PlaneSurface(SerializationInfo info, StreamingContext context)
Parameters
| Type |
Name |
Description |
| System.Runtime.Serialization.SerializationInfo |
info |
|
| System.Runtime.Serialization.StreamingContext |
context |
|
Properties
|
Improve this Doc
View Source
DirectionX
Declaration
public GeoVector DirectionX { get; }
Property Value
|
Improve this Doc
View Source
DirectionY
Declaration
public GeoVector DirectionY { get; }
Property Value
|
Improve this Doc
View Source
FromXYPlane
Declaration
public ModOp FromXYPlane { get; }
Property Value
|
Improve this Doc
View Source
IsUPeriodic
Declaration
public override bool IsUPeriodic { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Overrides
|
Improve this Doc
View Source
IsVPeriodic
Declaration
public override bool IsVPeriodic { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Overrides
|
Improve this Doc
View Source
Location
Declaration
public GeoPoint Location { get; }
Property Value
|
Improve this Doc
View Source
Normal
Declaration
public GeoVector Normal { get; }
Property Value
|
Improve this Doc
View Source
Oriented
Declaration
public override bool Oriented { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Overrides
|
Improve this Doc
View Source
Plane
Declaration
public Plane Plane { get; }
Property Value
|
Improve this Doc
View Source
ToXYPlane
Declaration
public ModOp ToXYPlane { get; }
Property Value
|
Improve this Doc
View Source
UPeriod
Declaration
public override double UPeriod { get; }
Property Value
| Type |
Description |
| System.Double |
|
Overrides
|
Improve this Doc
View Source
VPeriod
Declaration
public override double VPeriod { get; }
Property Value
| Type |
Description |
| System.Double |
|
Overrides
Methods
|
Improve this Doc
View Source
Clone()
Declaration
public override ISurface Clone()
Returns
Overrides
|
Improve this Doc
View Source
CopyData(ISurface)
Declaration
public override void CopyData(ISurface CopyFrom)
Parameters
Overrides
|
Improve this Doc
View Source
Derivation2At(GeoPoint2D, out GeoPoint, out GeoVector, out GeoVector, out GeoVector, out GeoVector, out GeoVector)
Declaration
public override void Derivation2At(GeoPoint2D uv, out GeoPoint location, out GeoVector du, out GeoVector dv, out GeoVector duu, out GeoVector dvv, out GeoVector duv)
Parameters
Overrides
|
Improve this Doc
View Source
FixedU(Double, Double, Double)
Declaration
public override ICurve FixedU(double u, double vmin, double vmax)
Parameters
| Type |
Name |
Description |
| System.Double |
u |
|
| System.Double |
vmin |
|
| System.Double |
vmax |
|
Returns
Overrides
|
Improve this Doc
View Source
FixedV(Double, Double, Double)
Declaration
public override ICurve FixedV(double v, double umin, double umax)
Parameters
| Type |
Name |
Description |
| System.Double |
v |
|
| System.Double |
umin |
|
| System.Double |
umax |
|
Returns
Overrides
|
Improve this Doc
View Source
GetDualSurfaceCurves(BoundingRect, ISurface, BoundingRect, List<GeoPoint>, List<Tuple<Double, Double, Double, Double>>)
Declaration
public override IDualSurfaceCurve[] GetDualSurfaceCurves(BoundingRect thisBounds, ISurface other, BoundingRect otherBounds, List<GeoPoint> seeds, List<Tuple<double, double, double, double>> extremePositions)
Parameters
| Type |
Name |
Description |
| BoundingRect |
thisBounds |
|
| ISurface |
other |
|
| BoundingRect |
otherBounds |
|
| System.Collections.Generic.List<GeoPoint> |
seeds |
|
| System.Collections.Generic.List<System.Tuple<System.Double, System.Double, System.Double, System.Double>> |
extremePositions |
|
Returns
Overrides
|
Improve this Doc
View Source
GetExtrema()
Declaration
public override GeoPoint2D[] GetExtrema()
Returns
Overrides
|
Improve this Doc
View Source
GetExtremePositions(BoundingRect, ISurface, BoundingRect, out List<Tuple<Double, Double, Double, Double>>)
Declaration
public override int GetExtremePositions(BoundingRect thisBounds, ISurface other, BoundingRect otherBounds, out List<Tuple<double, double, double, double>> extremePositions)
Parameters
| Type |
Name |
Description |
| BoundingRect |
thisBounds |
|
| ISurface |
other |
|
| BoundingRect |
otherBounds |
|
| System.Collections.Generic.List<System.Tuple<System.Double, System.Double, System.Double, System.Double>> |
extremePositions |
|
Returns
| Type |
Description |
| System.Int32 |
|
Overrides
|
Improve this Doc
View Source
GetLineIntersection(GeoPoint, GeoVector)
Declaration
public override GeoPoint2D[] GetLineIntersection(GeoPoint startPoint, GeoVector direction)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
GetModified(ModOp)
Declaration
public override ISurface GetModified(ModOp m)
Parameters
| Type |
Name |
Description |
| ModOp |
m |
|
Returns
Overrides
|
Improve this Doc
View Source
GetNormal(GeoPoint2D)
Declaration
public override GeoVector GetNormal(GeoPoint2D uv)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
GetOffsetSurface(Double)
Declaration
public override ISurface GetOffsetSurface(double offset)
Parameters
| Type |
Name |
Description |
| System.Double |
offset |
|
Returns
Overrides
|
Improve this Doc
View Source
GetPlaneIntersection(PlaneSurface, Double, Double, Double, Double, Double)
Declaration
public override IDualSurfaceCurve[] GetPlaneIntersection(PlaneSurface pl, double umin, double umax, double vmin, double vmax, double precision)
Parameters
| Type |
Name |
Description |
| PlaneSurface |
pl |
|
| System.Double |
umin |
|
| System.Double |
umax |
|
| System.Double |
vmin |
|
| System.Double |
vmax |
|
| System.Double |
precision |
|
Returns
Overrides
|
Improve this Doc
View Source
GetPolynomialParameters()
Declaration
public override double[] GetPolynomialParameters()
Returns
| Type |
Description |
| System.Double[] |
|
Overrides
|
Improve this Doc
View Source
GetProjectedCurve(ICurve, Double)
Declaration
public override ICurve2D GetProjectedCurve(ICurve curve, double precision)
Parameters
| Type |
Name |
Description |
| ICurve |
curve |
|
| System.Double |
precision |
|
Returns
Overrides
|
Improve this Doc
View Source
GetPropertyEntry(IFrame)
Declaration
public override IPropertyEntry GetPropertyEntry(IFrame frame)
Parameters
| Type |
Name |
Description |
| IFrame |
frame |
|
Returns
Overrides
|
Improve this Doc
View Source
GetZMinMax(Projection, Double, Double, Double, Double, ref Double, ref Double)
Declaration
public override void GetZMinMax(Projection p, double umin, double umax, double vmin, double vmax, ref double zMin, ref double zMax)
Parameters
| Type |
Name |
Description |
| Projection |
p |
|
| System.Double |
umin |
|
| System.Double |
umax |
|
| System.Double |
vmin |
|
| System.Double |
vmax |
|
| System.Double |
zMin |
|
| System.Double |
zMax |
|
Overrides
|
Improve this Doc
View Source
HitTest(BoundingCube, out GeoPoint2D)
Declaration
public override bool HitTest(BoundingCube bc, out GeoPoint2D uv)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
Overrides
|
Improve this Doc
View Source
Intersect(BoundingRect, ISurface, BoundingRect)
Declaration
public override ICurve[] Intersect(BoundingRect thisBounds, ISurface other, BoundingRect otherBounds)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
Intersect(ICurve, BoundingRect, out GeoPoint[], out GeoPoint2D[], out Double[])
Declaration
public override void Intersect(ICurve curve, BoundingRect uvExtent, out GeoPoint[] ips, out GeoPoint2D[] uvOnFaces, out double[] uOnCurve3Ds)
Parameters
Overrides
|
Improve this Doc
View Source
IsExtruded(GeoVector)
Declaration
public override bool IsExtruded(GeoVector direction)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
Overrides
|
Improve this Doc
View Source
IsVanishingProjection(Projection, Double, Double, Double, Double)
Declaration
public override bool IsVanishingProjection(Projection p, double umin, double umax, double vmin, double vmax)
Parameters
| Type |
Name |
Description |
| Projection |
p |
|
| System.Double |
umin |
|
| System.Double |
umax |
|
| System.Double |
vmin |
|
| System.Double |
vmax |
|
Returns
| Type |
Description |
| System.Boolean |
|
Overrides
|
Improve this Doc
View Source
Make3dCurve(ICurve2D)
Declaration
public override ICurve Make3dCurve(ICurve2D curve2d)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
MaxDist(GeoPoint2D, GeoPoint2D, out GeoPoint2D)
Declaration
public override double MaxDist(GeoPoint2D sp, GeoPoint2D ep, out GeoPoint2D mp)
Parameters
Returns
| Type |
Description |
| System.Double |
|
Overrides
|
Improve this Doc
View Source
Modify(ModOp)
Declaration
public override void Modify(ModOp m)
Parameters
| Type |
Name |
Description |
| ModOp |
m |
|
Overrides
|
Improve this Doc
View Source
Orientation(GeoPoint)
Declaration
public override double Orientation(GeoPoint p)
Parameters
Returns
| Type |
Description |
| System.Double |
|
Overrides
|
Improve this Doc
View Source
Declaration
public override GeoPoint2D[] PerpendicularFoot(GeoPoint fromHere)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
PointAt(GeoPoint2D)
Declaration
public override GeoPoint PointAt(GeoPoint2D uv)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
PositionOf(GeoPoint)
Declaration
public override GeoPoint2D PositionOf(GeoPoint p)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
ReverseOrientation()
Declaration
public override ModOp2D ReverseOrientation()
Returns
Overrides
|
Improve this Doc
View Source
SameGeometry(BoundingRect, ISurface, BoundingRect, Double, out ModOp2D)
Declaration
public override bool SameGeometry(BoundingRect thisBounds, ISurface other, BoundingRect otherBounds, double precision, out ModOp2D firstToSecond)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
Overrides
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
| Type |
Description |
| System.String |
|
Overrides
System.Object.ToString()
|
Improve this Doc
View Source
UDirection(GeoPoint2D)
Declaration
public override GeoVector UDirection(GeoPoint2D uv)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
VDirection(GeoPoint2D)
Declaration
public override GeoVector VDirection(GeoPoint2D uv)
Parameters
Returns
Overrides
Explicit Interface Implementations
|
Improve this Doc
View Source
IExportStep.Export(ExportStep, Boolean)
Declaration
int IExportStep.Export(ExportStep export, bool topLevel)
Parameters
| Type |
Name |
Description |
| ExportStep |
export |
|
| System.Boolean |
topLevel |
|
Returns
| Type |
Description |
| System.Int32 |
|
|
Improve this Doc
View Source
IDeserializationCallback.OnDeserialization(Object)
Declaration
void IDeserializationCallback.OnDeserialization(object sender)
Parameters
| Type |
Name |
Description |
| System.Object |
sender |
|
|
Improve this Doc
View Source
ISerializable.GetObjectData(SerializationInfo, StreamingContext)
Declaration
void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
| Type |
Name |
Description |
| System.Runtime.Serialization.SerializationInfo |
info |
|
| System.Runtime.Serialization.StreamingContext |
context |
|
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.Serialization.IDeserializationCallback