代码搜索:rectangle
找到约 10,000 项符合「rectangle」的源代码
代码结果 10,000
www.eeworm.com/read/359048/2981008
java rectangle.java
public class Rectangle {
public int width = 0;
public int height = 0;
public Point origin;
// four constructors
public Rectangle() {
origin = new Point(0, 0);
}
public Re
www.eeworm.com/read/359048/2981038
java rectangle.java
public class Rectangle {
public int width = 0;
public int height = 0;
public Point origin;
// four constructors
public Rectangle() {
origin = new Point(0, 0);
}
public Re
www.eeworm.com/read/358738/2982792
h rectangle.h
#ifndef __RECTANGLE_H__
#define __RECTANGLE_H__
#include
/**
*
* @class CRectangle Rectangle.h
* @brief This is a class to define a rectangle and is an implementation of
www.eeworm.com/read/358738/2982799
cpp rectangle.cpp
/**
*
* @brief Definition of CRectangle
*
* Copyright (c) EMCC Software Ltd 2003
* @version 1.0
*/
// Class Includes
#include "rectangle.h"
// System Includes
#include
cons
www.eeworm.com/read/357126/3028863
java rectangle.java
// Rectangle.java
// Java Spatial Index Library
// Copyright (C) 2002 Infomatiq Limited
//
// This library is free software; you can redistribute it and/or
// modify it under the terms
www.eeworm.com/read/353301/3086674
java rectangle.java
package graphics.twoD;
public class Rectangle {
public int width = 0;
public int height = 0;
public Point origin;
// 定义了四个构造方法。
/* public Rectangle() {
origin = new Poi
www.eeworm.com/read/353301/3086819
java rectangle.java
class Rectangle implements Shape2D{
int width,height;
public Rectangle(int w,int h) //构造方法
{
width=w;
height=h;
}
public double area(){
return (width * height);
}
}
www.eeworm.com/read/353301/3086938
java rectangle.java
public class Rectangle
{
double width = 10.128;
double height = 5.734;
public double area()
{
return width * height;
}
}
www.eeworm.com/read/352435/3094933
java rectangle.java
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
*
* The contents of this file are subject to the terms of eithe